Field CANCEL_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 public static final Object CANCEL_OPTION = new Integer(JOptionPane.CANCEL_OPTION);
2 if(value != JOptionPane.CANCEL_OPTION)
3 if(value != JOptionPane.CANCEL_OPTION){
4 JOptionPane.CANCEL_OPTION));
5 if (retVal == JOptionPane.CANCEL_OPTION || retVal == JOptionPane.CLOSED_OPTION) return;
6 _returnValue = JOptionPane.CANCEL_OPTION;
7 else if(doSave == JOptionPane.CANCEL_OPTION) isOK = false;
8 "choose one", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.CANCEL_OPTION) return;
9 if (result == JOptionPane.CANCEL_OPTION)
10 if (res == JOptionPane.CANCEL_OPTION)
11 if (response == JOptionPane.CANCEL_OPTION)
12 if(checkChanged() != JOptionPane.CANCEL_OPTION)
13 case JOptionPane.CANCEL_OPTION:
14 } else if ( value == JOptionPane.CANCEL_OPTION) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.