/** Installs the appropriate <code>Border</code> onto the <code>JRootPane</code>. */ void installBorder(JRootPane root) { int style = root.getWindowDecorationStyle(); if (style == JRootPane.NONE) { LookAndFeel.uninstallBorder(root); } else { LookAndFeel.installBorder(root, borderKeys[style]); } }
/** Installs the appropriate <code>Border</code> onto the <code>JRootPane</code>. */ void installBorder(JRootPane root) { int style = root.getWindowDecorationStyle(); if (style == JRootPane.NONE) { LookAndFeel.uninstallBorder(root); } else { root.setBorder(new RootPaneBorder()); } }
/** Removes any border that may have been installed. */ private void uninstallBorder(JRootPane root) { LookAndFeel.uninstallBorder(root); }
protected void uninstallDefaults() { LookAndFeel.uninstallBorder(optionPane); }
protected void uninstallDefaults(AbstractButton b) { LookAndFeel.uninstallBorder(b); }
protected void uninstallDefaults() { LookAndFeel.uninstallBorder(progressBar); }
protected void uninstallDefaults(JPanel p) { LookAndFeel.uninstallBorder(p); }