Login  Register

Re: Feasible Fullscreen Model?

Posted by gouessej on Jan 17, 2012; 9:36am
URL: https://forum.jogamp.org/Feasible-Fullscreen-Model-tp3663579p3665597.html

I wrote a bug report, I tried to port Sven's fix in AWT but I failed. I think it would be the best solution because it would allow you to use AWT and Swing inside a full screen frame without any other third party library except JOGL, the only remaining problem would be the handling of the OpenGL context.

As far as I know, you can create a NewtCanvasAWT with a GLWindow as a parent:
http://jogamp.org/deployment/jogamp-next/javadoc/jogl/javadoc/com/jogamp/newt/awt/NewtCanvasAWT.html#NewtCanvasAWT(com.jogamp.newt.Window)
Give it a try and if it works for you, I will check if it works fine on GNU Linux too.
Julien Gouesse | Personal blog | Website