Re: Odd behaviour from GLEventListener with JOGL 2
Posted by Wade Walker on Oct 28, 2010; 2:28am
URL: https://forum.jogamp.org/Odd-behaviour-from-GLEventListener-with-JOGL-2-tp1782146p1784054.html
This code also works instead of an animator:
try {
Thread.sleep(1000);
}
catch (InterruptedException e1) {
}
canvas.display();
It seems like if you call canvas.display() too soon, it doesn't have any effect for some reason.