Field NO_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 NO_OPTION = new Integer(JOptionPane.NO_OPTION);
2
if(n == JOptionPane.NO_OPTION) {
3
case JOptionPane.NO_OPTION:
4
JOptionPane.NO_OPTION) return;
5
else if (result == JOptionPane.NO_OPTION) { }
6
exit = !(option == JOptionPane.NO_OPTION);
7
case JOptionPane.NO_OPTION:
8
if (res == JOptionPane.NO_OPTION) {
9
case JOptionPane.NO_OPTION:
10
case JOptionPane.NO_OPTION: // Just exit without save
11
==JOptionPane.NO_OPTION )
12
int option = JOptionPane.NO_OPTION;
13
} else if ( value == JOptionPane.NO_OPTION) {
14
if(reply == JOptionPane.NO_OPTION) return;
15
== JOptionPane.NO_OPTION )
16
if (response == JOptionPane.NO_OPTION) return false;
17
JOptionPane.NO_OPTION);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.