My guess would be your process runs in the GUI thread, essentially blocking it. That's why the dialog box can't repaint itself until your process is done. Try moving the process to a different thread or wrap it in invokeLater (which would still make it run in the GUI thread, but it will be moved to the end of the event queue).
Cheers Dmitry At 06:38 PM 12/19/2001, Reinstein, Lenny wrote: >I want to pop up a dialog box indicating to the user that they have to wait >till a particular process finishes. When the process finishes, I close the >dialog box. However, the dialog box pops up empty. The process starts right >after I call dialog.show() and the dialog is correctly displayed only when >the process finishes (too late, obviously). Any idea why this happens? All >this dialog box has is a label with a text. --- Dmitry Beransky Lead System Analyst University of California, San Diego Multimedia Interactive Learning Lab (http://mill.ucsd.edu) _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
