---- Reported by eteq 2006-05-18 23:54:33 ---- When I create a GLCanvas with a GLCapabilties with setStereo(true), Swing controls don't seem to all work properly. Some of them (e.g. buttons) work fine, but others only change the output to the left buffer of the graphics card. For example, a JTextBox, when generated, shows the default text in both the GL_LEFT and the GL_RIGHT buffer, but if the text is changed, only the GL_LEFT buffer is updated.This problem also "spreads" to other Swing components if the GLCanvas is dragged around the screen to conver and later uncovers them - after this, only the GL_LEFT buffer is updated. ---- Additional Comments From kbr 2006-05-19 00:44:44 ---- It is highly unlikely that anything can be done about this. The underlying Java2D pipeline which renders the Swing controls knows nothing about OpenGL stereo modes which is why the components are only appearing in one of the two buffers. Even with the new fully-accelerated GLJPanel available with Java SE 6, the underlying Java2D window is not stereo capable. We might be able to address the latter with an RFE in the JDK. I hope a quick resolution of this issue is not necessary. If one is then I would strongly encourage you to look for workarounds involving drawing minimal components using pure OpenGL. --- Bug imported by sgothel@jausoft.com 2010-03-24 07:48 EDT --- This bug was previously known as _bug_ 223 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=223
Swing does it's own compositioning, ie no control