Login  Register

Re: NullPointerException when GLWindow.setVisible(true) is called?

Posted by gouessej on Feb 07, 2014; 2:00pm
URL: https://forum.jogamp.org/NullPointerException-when-GLWindow-setVisible-true-is-called-tp4031493p4031495.html

Hi

Please provide a complete example and look at our unit tests. Ensure that you use at least JOGL 2.1.4.

I wrote something similar but it works in my case:
https://github.com/Renanse/Ardor3D/blob/master/ardor3d-jogl/src/main/java/com/ardor3d/framework/jogl/JoglNewtWindow.java

There is a request for enhancement about allowing to make the GLWindow non-resizable, the bug report is attributed to ... me :) It's not yet implemented.
Julien Gouesse | Personal blog | Website