Re: Using NEWT the window flashes and then the program terminates.
Posted by
Sven Gothel on
May 22, 2012; 8:31pm
URL: https://forum.jogamp.org/Using-NEWT-the-window-flashes-and-then-the-program-terminates-tp4006834p4007420.html
On 05/22/2012 09:46 PM, petsagouris [via jogamp] wrote:
Unlike AWT, creating a NEWT Window does not stop the JVM from being closed!
To do so, you either need to manually keep the main thread alive,
or - like many of the NEWT demos - keep another non daemon thread alive,
like the Animator.
~Sven