Image displayed in frame
I'm having problems displaying an image in a awt frame. The image is displayed in a ImageCanvas. The frame is a small loading screen with a picture in it. On it's own it works fine but when I construct a frame and pack it right after displaying the frame with the image, the image canvas displays only an empty box while the next frame loads. I've made a bit of progress by calling Thread.sleep(n) after the loading frame is displayed, and before the next frame is constructed and packed. However, this is not the way I want to implement it.
Is there a bit more graceful way to do this?

