StandardCanvasGame breaks when I update Swing!

As soon as i use repaint(), where I create everything new inside Swing, the StandardCanvasGame breaks!

The problem is, I get no error message? As soon as I repaint, everything inside the GlCanvas goes black.

Maybe an update problem?

StandardCanvasGame? Can you tell me where that's located?