Constructor JOptionPane(Object message, int messageType, int optionType)
Member of: javax.swing.JOptionPane
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 JOptionPane pane= new JOptionPane("There are modified files. If you continue, changes will be lost. Sure? ",
2 JOptionPane pane= new JOptionPane("Operation couldn't complete: no selected text!!!",
3 optionPane = new JOptionPane(beanEditor.getComponent(),
4 JOptionPane pane = new JOptionPane(msg,
5 JOptionPane pane = new JOptionPane
6 JOptionPane optionPane = new JOptionPane(this,
7 JOptionPane pane = new JOptionPane(plg,
8 JOptionPane pane = new JOptionPane (
9 optionPane = new JOptionPane(createInputPanel(), JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.