A
Arun
I have a showInputDialog that takes an array of strings and creates an
option box from which to select a certain option.
However i want the dialog to also allow the user to input a string if
they so wish.
JavaDoc
http://java.sun.com/j2se/1.4.2/docs...g.Icon, java.lang.Object[], java.lang.Object))
The javadoc says "The user will able to choose from selectionValues,
where null implies the user can input whatever they wish, usually by
means of a JTextField. "
I have tried adding null in the array but i cant enter anything.
Does anyone know how to do this?
option box from which to select a certain option.
However i want the dialog to also allow the user to input a string if
they so wish.
JavaDoc
The javadoc says "The user will able to choose from selectionValues,
where null implies the user can input whatever they wish, usually by
means of a JTextField. "
I have tried adding null in the array but i cant enter anything.
Does anyone know how to do this?