Getting starting problem
Posted by
Alex Kozlov on
Oct 20, 2011; 7:44am
URL: https://forum.jogamp.org/Getting-starting-problem-tp3436963.html
Hi!
I get example from
Using JOGL in AWT SWT and Swing and run it (i try all examples). See blank window.
I do the the same in debug mode... if I have any breakpoints - all work correct. If no - still the same blank window.
Then I add this after GLProfile.initSingleton( false ) :
try {
Thread.sleep(1000); // sleep 1 second
} catch(Exception e){}
And now all work properly in any cases... but I think it's like magic and there are better way?