Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

refresh/reload Swing components???

843804Jan 18 2005 — edited Jan 24 2005
Hi all,
I am having a problem with using a Swing frame ... I am calling a command line program on the click of a button in the frame. But as soon as the button is clicked, the swing frame is paused .. the button stays pressed as long as the program ends. My requirement is ... all those messages which are printed on the console should be printed on a Swing component (like a JLabel or JList). I have no problem doing that... but everything is visible only after the program ends... till then the swing frame remains static. Is there any way out??? Can we reload or refresh the JFrame?

thaanx in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2005
Added on Jan 18 2005
7 comments
391 views