Field YES_OPTION
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 return response == JOptionPane.YES_OPTION;
2 public static final Object YES_OPTION = new Integer(JOptionPane.YES_OPTION);
3 "¹ÙÀ̹ÙÀÌ", JOptionPane.YES_NO_OPTION )==JOptionPane.YES_OPTION )
4 "Confirm", JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION;
5 if (opt == JOptionPane.YES_OPTION) {
6 case JOptionPane.YES_OPTION:
7 Resources.TITLE_UPGRADE, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION) {
8 if (response != JOptionPane.YES_OPTION)
9 if (result == JOptionPane.YES_OPTION) {
10 if (result == JOptionPane.YES_OPTION)
11 return (res == JOptionPane.YES_OPTION);
12 if ( value == JOptionPane.YES_OPTION) {
13 if(doSave == JOptionPane.YES_OPTION) isOK = saveDocument();
14 if(option==JOptionPane.YES_OPTION) CDox.restartCDox();
15 JOptionPane.YES_NO_OPTION) == JOptionPane.YES_OPTION) {
16 == JOptionPane.YES_OPTION);
17 if (answer != JOptionPane.YES_OPTION) return;
18 if (response == JOptionPane.YES_OPTION) {
19 if (option == JOptionPane.YES_OPTION) {
20 == JOptionPane.YES_OPTION) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.