Field YES_NO_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
"Warning!", JOptionPane.YES_NO_CANCEL_OPTION,
2
JOptionPane.YES_NO_CANCEL_OPTION);
3
JOptionPane.YES_NO_CANCEL_OPTION,
4
JOptionPane.YES_NO_CANCEL_OPTION);
5
JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE, null,
6
JOptionPane.YES_NO_CANCEL_OPTION);
7
switch (JOptionPane.showConfirmDialog(this, "Save Current Desktop?", "Save Desktop", JOptionPane.YES_NO_CANCEL_OPTION))
8
res.getString("Save_On_Close_Title"), JOptionPane.YES_NO_CANCEL_OPTION);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.