Field CANCEL_OPTION
Field type: int
Member of: javax.swing.JFileChooser
[api documentation ] [ main menu]

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

1 if(jfc.showSaveDialog(null) == JFileChooser.CANCEL_OPTION) {
2 if (jfc.showOpenDialog(this) == JFileChooser.CANCEL_OPTION)
3 if (returnValue == JFileChooser.CANCEL_OPTION)
4 case JFileChooser.CANCEL_OPTION:
5 if (returnValue == JFileChooser.CANCEL_OPTION)
6 case JFileChooser.CANCEL_OPTION:
7 if(ret == JFileChooser.CANCEL_OPTION) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.