FileDocCategorySizeDatePackage
BasicPanelUI.javaAPI DocJava SE 5 API1365Fri Aug 26 14:58:04 BST 2005javax.swing.plaf.basic

BasicPanelUI

public class BasicPanelUI extends PanelUI
BasicPanel implementation
version
1.11 12/19/03
author
Steve Wilson

Fields Summary
private static PanelUI
panelUI
Constructors Summary
Methods Summary
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)

	if(panelUI == null) {
            panelUI = new BasicPanelUI();
	}
        return panelUI;
    
protected voidinstallDefaults(javax.swing.JPanel p)

        LookAndFeel.installColorsAndFont(p,
					 "Panel.background",
					 "Panel.foreground",
					 "Panel.font");
        LookAndFeel.installBorder(p,"Panel.border");
        LookAndFeel.installProperty(p, "opaque", Boolean.TRUE);
    
public voidinstallUI(javax.swing.JComponent c)

        JPanel p = (JPanel)c;
        super.installUI(p);
        installDefaults(p);
    
protected voiduninstallDefaults(javax.swing.JPanel p)

        LookAndFeel.uninstallBorder(p);
    
public voiduninstallUI(javax.swing.JComponent c)

        JPanel p = (JPanel)c;
        uninstallDefaults(p);
        super.uninstallUI(c);