/** Removes the receiver from the L&F controller of the passed in split pane. */ public void uninstallUI(JComponent c) { uninstallComponents(); optionPane.setLayout(null); uninstallKeyboardActions(); uninstallListeners(); uninstallDefaults(); optionPane = null; }
/** Installs the receiver as the L&F for the passed in <code>JOptionPane</code>. */ public void installUI(JComponent c) { optionPane = (JOptionPane) c; installDefaults(); optionPane.setLayout(createLayoutManager()); installComponents(); installListeners(); installKeyboardActions(); }