Mixing OpenGL & Java2D rendering on the same surface

I’d like to be able to mix OpenGL rendering and Java2D rendering on the one surface. I have found that I can override the paintComponent() method of GLJPanel and achieve what I want but it seems that GLJPanel is much slower to resize than a GLCanvas. Unfortunately I have been unable to override the paint() method of GLCanvas and do some Java2D rendering on it as the Java2D stuff appears only fleetingly and then disappers.

Is there a better way to do what I am trying to do?

Why is GLJPanel so much slower to resize than GLCanvas?

Thanks,

Jarrick Chagma