Exemplo n.º 1
0
 /** 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;
 }
Exemplo n.º 2
0
 /** 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();
 }