Quote:
Originally Posted by dannyboi
ANd what does this mean?
|
The signature for input dialog off of JOptionPane is:
Code:
public static String showInputDialog(Component, Object);
public static String showInputDialog(Component, Object, Object);
public static String showInputDialog(Component, Object, String, int);
Every one of these returns a string.
The final one:
Code:
public static Object showInputDialog(Component, Object, String, int, Icon, Object[], Object);
Returns an object. It's used for selections though, not direct input.