Class JOptionPane2

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class JOptionPane2 extends JOptionPane
See Also:
  • Constructor Details

    • JOptionPane2

      public JOptionPane2(Component parentComponent, String title)
    • JOptionPane2

      public JOptionPane2(Component parentComponent, Object message, String title)
    • JOptionPane2

      public JOptionPane2(Component parentComponent, Object message, String title, int messageType)
    • JOptionPane2

      public JOptionPane2(Component parentComponent, Object message, String title, int messageType, int optionType)
    • JOptionPane2

      public JOptionPane2(Component parentComponent, Object message, String title, int messageType, int optionType, Icon icon)
    • JOptionPane2

      public JOptionPane2(Component parentComponent, Object message, String title, int messageType, int optionType, Icon icon, Object[] options)
    • JOptionPane2

      public JOptionPane2(Component parentComponent, Object message, String title, int messageType, int optionType, Icon icon, Object[] options, Object initialValue)
  • Method Details

    • selectInitialValueOnFirstDialogShowing

      public void selectInitialValueOnFirstDialogShowing()
    • getDialog

      public JDialog getDialog()
    • showDialog

      public int showDialog()
    • setValue

      public void setValue(Object newValue)
      Overrides:
      setValue in class JOptionPane
    • acceptValue

      public boolean acceptValue(Object newValue)
    • styleFromMessageType

      public static int styleFromMessageType(int messageType)
    • createDialog

      public JDialog createDialog(Component parentComponent, String title) throws HeadlessException
      Overrides:
      createDialog in class JOptionPane
      Throws:
      HeadlessException
    • pressActionOnDoubleClick

      public void pressActionOnDoubleClick(Component component, int option)