I've had this problem several times now and I wonder what can be done about it. The general pattern of it is:
f = new Frame();
// only here the frame is refreshed
in the mean time the window sits there unrefreshed. It seems like the awt thread only wakes up (and calls paint() on its components) when all other threads have stopped computing? How do I get around this? I tried lowering the priority, yielding and sleeping, or manually calling repaint() but nothing helps. I'd like to understand how the AWT thread works in terms of scheduling and how to force it to wake up.