|
Synchronization problems
Hi guys,
I have a problem with a program in Java and I'd like to know your opinion.
I explain to you:
I have one interface graphical (JFrame) with a button that when it is touched executes a code that realizes a set of tasks.
What I want is that, as the above mentioned code is executed, visualize information about his evolution in the graphical interface.
When I still don't have the interface, it was showing the messages across the exit (with a System.out.println) . But when I have tried to put the interface, the messages do not go out until the whole code has been executed.
My question is: how can I do that messages can be visualized in dynamic way?
thanks
Last edited by Jack : 06-04-2007 at 09:17 PM.
|