Java Programming:Threads and Swing Components?
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.
I have to work in threads and swing.
Tags: Frame Components, Inputstream, Java Components, Java Programming, Java Swing, Java Threads, Swing Components

September 28th, 2008 at 12:56 pm
For if not check the internet visit httpwwwgreatfundablogspotcom httpwwwexpertsviewblogspotcom.
October 1st, 2008 at 3:24 pm
You shoud do such update GUI things on event dispatch thread where you can pown n00bs. There is some method on object where asks isEDT? or some n00b shite like that. Use context hellp or don’t be n00b. Update property on object inline and should be fine or SwingUriliities.InvokeLater().
pownage