if(panelUI == null) { panelUI = new BasicPanelUI(); } return panelUI;
LookAndFeel.installColorsAndFont(p, "Panel.background", "Panel.foreground", "Panel.font"); LookAndFeel.installBorder(p,"Panel.border"); LookAndFeel.installProperty(p, "opaque", Boolean.TRUE);
JPanel p = (JPanel)c; super.installUI(p); installDefaults(p);
LookAndFeel.uninstallBorder(p);
JPanel p = (JPanel)c; uninstallDefaults(p); super.uninstallUI(c);