Method getValue()
Return type:
java.lang.Object
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
Object v = pane.getValue();
2
if (optionPane.getValue() == JOptionPane.UNINITIALIZED_VALUE) {
3
int value= ((Integer)pane.getValue()).intValue();
4
Object value = optionPane.getValue();
5
Object selectedValue = pane.getValue();
6
if (passPane.getValue() != null) {
7
int value= ((Integer)pane.getValue()).intValue();
8
Object value = optionPane.getValue();
9
Object selectedValue = pane.getValue();
10
String selectedValue = (String) pane.getValue();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.