Hi,
The JavaDoc for JOGL says that Animation.stop will perform blocking until the animator is finished.
Um… no it doesn’t.
The animator.stop method returns if the current thread is the dispatch thread from AWT.
Look at the following case:
animator.stop();
animator.start();
The second call will cause a JOGL exception saying that the animator is already running. Except, it won’t be running for long. Cause the pending stop is still going to happen.
So in my application we stop the animator, clear the 3D scene, load some data from a file, and then call start. Except it doesn’t start up again? Think’s it’s still running, but it’s going to stop.
So I’m unable to start it again.