Hi!
I’m trying to use a GLJPanel to efficiently intermix Java2D content with OpenGL stuff. So far so good, but when using the GLJPanel for rendering I have horrible tearing. I was always convinced that all Swing components (wich should include the GLJPanel) are automatically double buffered, thereby avoiding tearing.
To verify that it’s not my fault that double buffering does not work I tested the standard PhotoCube demo from Chris Campbell http://weblogs.java.net/blog/2006/10/12/easy-2d3d-mixing-swing and the JOGL Swing demonstration http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/JRefract.jnlp. Both have the same tearing problem I am experiencing.
So here’s my question: Why is double buffering not working for GLJPanel and is there a way to work around this issue ?
Thanks in advance for your efforts.
-H05h1-