Mixing Java3D OpenGL with Java2D OpenGL pipeline in Java 1.5.0_04

I have a swing application that have a Java3D OpenGL window inside it.
On top of this 3D window I sometimes draw a contextmenu and some tooltips also expands into that window.

Now since Swing uses Java2D, will it make sense to use the new OpenGL pipeline (-Dsun.java2d.opengl=true) so I do not mix OpenGL and DirectX, but OpenGL and OpenGL?

I always use new and updated NVidia drivers and have modern GeForce cards.

Thanks for any replies

This is why we have multiple contexts in OpenGL :slight_smile: There should be no problem.

Cas :slight_smile: