I have wrote a periodic table app that displays the periodic table. If you click on the appropriate box the app loads up a modal dialog box for that particular element. The dialog contains information and an image. 99% of the time the dialog box loads up ok. Occasionaly the dialog frame will load but nothing is displayed. If i move the Dialog behind another window or the edges of the screen the picture appears, its as if the window is locked up and needs repainting. Any ideas about whats going on?