InputDialog Box
Hi all...
I wrote the following which upon a button being clicked brings up an input box prompting the user to enter some info. This user input is then appended to the TextArea.
String str = JOptionPane.showInputDialog(null,"Please enter text here","New Input",JOptionPane.QUESTION_MESSAGE);
editor.append(str +"\n" +"PredefinedText");
What I wanted to do was upon the user checking the button for aSERIES of such boxes to be displayed. Therfore the clicking of the button resulting in e.g. 4 input dialog boxes so the user has re-enter 4 times and each of these inputs is added to the TextArea.
Any direction/code/help much appreciated...

