quick choises in JoptionPane
I'm using joptionPane for chosing from list.
The problem is that is too demanding - when the dialog is opened , first i have to press the arrow that show the list possibilities, then chose my option , and then - confirm with ok.
How can I speed things up - - so the list will automaticly apears and removing the need for confirm ?
String s = (String)JOptionPane.showInputDialog(
"Chose From the list",