Method showInputDialog(Object message)
Return type:
java.lang.String
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
String classname = JOptionPane.showInputDialog("Please enter the fully qualified name of a class or interface to verify:");
2
String logtext = JOptionPane.showInputDialog("Text to log");
3
String name = JOptionPane.showInputDialog("New workspace name");
4
String modelName = JOptionPane.showInputDialog("What is the name of the model?");
5
hostName = JOptionPane.showInputDialog("New host name: ");
6
wp.args_password = JOptionPane.showInputDialog("enter password for " + wp.urlStub);
7
String val = JOptionPane.showInputDialog(
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.