Dialog not refreshing when launched via webstart

Hello all!

Here's my bug scenario :

I've got an application that does a RMI asynchrounous connection to a server. The server processes a client demand, and assynchronously sends progress messages to the client. On client side, a swing dialog is refreshed according to this progress message.

The bug is that when the client is launched on command line using a simple java command,everything works fine. But when I use the same jar in a jnlp file, and import it/execute it with webstart, the dialog is simply not repainting. The client receives all messages and process them (I put a trace), the progress bar in the dialog is effectively changed, but it is not repainted (ALT-TAB, ALT-TAB force the refresh under windows)

Anyone knows if it is a bug or the issue that can cause this problem>?

Thanks!

[847 byte] By [fnisol] at [2007-9-26 1:18:03]
# 1
I have noticed the same problem. Try using SwingUtilities.invokeLater() . It seemed to work for me. Also the version of jre used seems to make a difference. Seemed OK with jre 1.3.
rameshns at 2007-6-29 0:48:31 > top of Java-index,Desktop,Deploying...
# 2
your invoke later worked! I used jre 1.3, and couldn't get it to work normally, but the invoke later certainly did the trick. Thank you!
Bpescador at 2007-6-29 0:48:31 > top of Java-index,Desktop,Deploying...