If you run a Swing application under Parallels for Mac v3.0, and are using Java 1.6 and your direct draw extension is enabled you will find the application never draws (render) it's canvas.
It is not a bug in your code - just turn off all graphics acceleration in XP.