Re: GLCanvas draws over Swing components on Mac
Posted by
gouessej on
May 11, 2012; 10:31am
URL: https://forum.jogamp.org/GLCanvas-draws-over-Swing-components-on-Mac-tp3973879p3979543.html
Yes, there is a problem with Z ordering of components under Mac with Apple JVM, it's a shame. I worked on several commercial applications that have never been allowed to work on Mac because of such problems.
GLJPanel is heavier, of course it is still often slower and less reliable than GLCanvas and GLWindow, especially on low end graphics cards.
Are you sure you cannot try using OpenJDK to check if the mixing of heavyweight and lightweight components work fine with it? You can ship the JVM in commercial applications anyway (but it is not a common practice on Mac as far as I know).
I fear NewtCanvasAWT with Swing might have the same problem but you could give it a try.
Do you use JInternalFrame?