TextArea User Response

I have a basic TextEditor application. My aim is to add a button on which was once pressed pops up a dialog box allowing the user to input some text. Once the user presses OK on the button, the users input text is then displayed on the Text Area.

Any help/advice/samples much appreciated :)

Kapil

[331 byte] By [johrik] at [2007-9-26 3:42:26]
# 1
Why do want to do it this way? Normally it is possible to edit text directly in the TextArea. So you do not have to popup a window and put the text from there to you your textarea.
swingfreak at 2007-6-29 12:20:01 > top of Java-index,Desktop,Core GUI APIs...
# 2

Hi

The reason I am doing it this way is because I am planning to write a basic editor which brings up a series of input boxes taking the users input and appending this to the JTextArea.

My aim is to have the user to only enter infomation in to the input box and not have to have any contact with the JTextArea. Gradually after a series of input boxes the aim is to build a text doc in the JTextArea.

Any direction/advice/samples much appreciated...

johrik at 2007-6-29 12:20:01 > top of Java-index,Desktop,Core GUI APIs...