Method showInputDialog(Component parentComponent, Object message, String title, int messageType, Icon icon, Object[] selectionValues, Object initialSelectionValue)
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 String input = (String)JOptionPane.showInputDialog(this,
2 (String)JOptionPane.showInputDialog(this, "Enter Component Name",
3 JOptionPane.showInputDialog(this, "Select Recipe Type",
4 String waveValue = (String)JOptionPane.showInputDialog(this, "Wave Gap",
5 String value = (String) JOptionPane.showInputDialog(this,"Enter Value","Edit Value",
6 final String albumName = (String)JOptionPane.showInputDialog(this,
7 String htmlname = (String)JOptionPane.showInputDialog(this,
8 (this,
9 JOptionPane.showInputDialog(
10 String gName = (String)JOptionPane.showInputDialog(
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.