Field PLAIN_MESSAGE
Field type: int
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 aboutOptionPane.showMessageDialog(null,"", "about...", javax.swing.JOptionPane.PLAIN_MESSAGE, aboutIcon);
2 if (url != null) JOptionPane.showMessageDialog(this, msg, "Moses", JOptionPane.PLAIN_MESSAGE, new ImageIcon(url));
3 JOptionPane.showMessageDialog(this, inputPanel, "input", JOptionPane.PLAIN_MESSAGE);
4 JOptionPane.PLAIN_MESSAGE);
5 JOptionPane.PLAIN_MESSAGE
6 JOptionPane.PLAIN_MESSAGE
7 JOptionPane.PLAIN_MESSAGE
8 JOptionPane.PLAIN_MESSAGE);
9 JOptionPane.PLAIN_MESSAGE);
10 JOptionPane.PLAIN_MESSAGE);
11 JOptionPane.PLAIN_MESSAGE,
12 JOptionPane.showMessageDialog( this, aboutBox.getUpperPanel(), "About Audio/Video", JOptionPane.PLAIN_MESSAGE );
13 JOptionPane.PLAIN_MESSAGE);
14 JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
15 error.showConfirmDialog(this, "Fill in the fields.", "Error", JOptionPane.DEFAULT_OPTION, JOptionPane.PLAIN_MESSAGE, null);
16 String uri=JOptionPane.showInputDialog(this,"Load Stylesheet:","Enter the stylesheet's URL",JOptionPane.PLAIN_MESSAGE);
17 (qp, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_OPTION);
18 optionPane = new JOptionPane(createInputPanel(), JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION);
19 JOptionPane.PLAIN_MESSAGE,
20 JOptionPane.PLAIN_MESSAGE,
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.