Re: JOGL Integration in Swing App
Posted by
3dcoder on
Mar 30, 2012; 9:43am
URL: https://forum.jogamp.org/JOGL-Integration-in-Swing-App-tp3870189p3870383.html
This one did it:
> JPopupMenu.setDefaultLightWeightPopupEnabled(false);
Thanks a lot, Julien!
Using GLCanvas is no way to go for me - I am running an own 3D Engine and it is initialized by giving an EngineDisplaySettings
object. This object contains the info to run as Fullscreen, Windowed or paneled mode. Fullscreen and window mode use
GLWindow with Newt event handlers. The paneled mode would then use AWT Event listeners and this would give too much
"confusion" in the Engine code and its event handling code.
But thanks to your hint, I can now keep the nice Swing Menus. Yeah :)
Kind regards,
Stefan