Login  Register

Re: GLCanvas draws over Swing components on Mac

Posted by karelknoes on May 10, 2012; 6:28pm
URL: https://forum.jogamp.org/GLCanvas-draws-over-Swing-components-on-Mac-tp3973879p3977868.html

Thanks gouessej! Very helpful to start looking in the right places for a solution :).

To summarize, any combination of AWT and Swing is doomed to fail under Mac OS X with Apple JVM, even if the components do not overlap? I'm surprised to find so little solid information on such a considerable limitation.

Looking at solutions, the options appear to be:
> Use GLJPanel: This panel indeed fixed the mac problem for our product but does seem to impact the render performance.
> Use AWT only: We can replace the Swing components in our product with AWT solutions. Best performance but lacks the convenient Swing UI components.

A related post: http://forum.jogamp.org/Mac-OSX-GLJPanel-Performance-integrating-Swing-and-JOGL-td1002442.html

Any solid information or solution for this problem is very welcome.