Method showInputDialog(Component parentComponent, Object message, String title, int messageType)
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 newName = JOptionPane.showInputDialog(this, "Please enter a name for this code completion entry",
2 String uri=JOptionPane.showInputDialog(this,"Load Stylesheet:","Enter the stylesheet's URL",JOptionPane.PLAIN_MESSAGE);
3 String input = JOptionPane.showInputDialog(this, "Enter the URL of the schema you wish to load: ", "Load a New Schema", JOptionPane.PLAIN_MESSAGE);
4 String strPackageName = javax.swing.JOptionPane.showInputDialog(
5 String newFolderName = JOptionPane.showInputDialog( this,
6 schemaName = JOptionPane.showInputDialog(this, Resources.LABEL_GET_SCHEMA_NAME,
7 JOptionPane.showInputDialog(
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.