Hi all, I have a problem with swing multithread I need
show a dialog with a progress bar, and two buttons one is to ok and the other is to cancel operation , I had tried Progress monitor
but that don´t work, and create a dialog with a progress bar
and try do a dialog implement Runnable and create a thread to
update interface, I put a thread into dialog to update Graphics.
the problem is:
I create a dialog and call the show method, the frame e show
but the graphical bean don't be showed, after I start a loop
I had put some println to see for's counter and every except
graphical interface, and it don´t update the graphical interface and
don´t hold events, I guess it hold all events and put at queue
and just process after finish the loop. When the loop finish a progress
bar is showed and all works.
p.s sorry by my inglish