Posts Tagged ‘Inputstream’

Java Programming:Threads and Swing Components?

Saturday, September 27th, 2008
java programming
Bishnu B asked:

I have to work in threads and swing.
I have a class that has some frame components like textarea,textfield and so on.When the button from the frame is clicked, a new working thread is created which reads the input from the InputStream.Now I want to display the read data to the textarea of the frame.How can I do this any idea?I have tried but the message is only printed on the standard output and not displayed on the textarea.