Example usage for javax.swing LookAndFeel installProperty

List of usage examples for javax.swing LookAndFeel installProperty

Introduction

In this page you can find the example usage for javax.swing LookAndFeel installProperty.

Prototype

public static void installProperty(JComponent c, String propertyName, Object propertyValue) 

Source Link

Document

Convenience method for installing a property with the specified name and value on a component if that property has not already been set by the developer.

Usage

From source file:com.googlecode.vfsjfilechooser2.plaf.basic.BasicVFSFileChooserUI.java

protected void installDefaults(VFSJFileChooser fc) {
    installIcons(fc);//from  ww  w. ja  v a 2  s .c  o m
    installStrings(fc);
    usesSingleFilePane = UIManager.getBoolean("FileChooser.usesSingleFilePane");
    readOnly = UIManager.getBoolean("FileChooser.readOnly");
    LookAndFeel.installProperty(fc, "opaque", Boolean.FALSE);
}