Login  Register

Re: question about the GLCanvas and GLJPanel

Posted by gouessej on Mar 29, 2012; 7:25am
URL: https://forum.jogamp.org/question-about-the-GLCanvas-and-GLJPanel-tp3844025p3866945.html

GLJPanel is almost only required when you use JInternalFrame, for example when you want to display some 3D meshes with a small internal window over it and even in this case, maybe it is possible to put a GLCanvas into a Panel if and only if mixing AWT & Swing is correctly supported by the JVM.

This is mentioned in the documentation:
GLJPanel is provided for compatibility with Swing user interfaces when adding a heavyweight doesn't work either because of Z-ordering or LayoutManager problems.
Julien Gouesse | Personal blog | Website