If I run any of the test's mains, (not using the TestLauncher), clicking on the X in the window does not close them. I'm running XP.
This has nothing to do with the fact, that you're not using the launcher, but the mains. I changed this behavior some weeks ago for reasons of better abstraction and to make all OpenGLLayers behave the same. Previously there was an AWT window listener added to the containing Frame for the AWT GLCanvas. This listener executed a simple System.exit( 0 ); which was evil. Now you have much better control over the x-clicked-event (or you even HAVE constrol over it now). And you have the same control over it for all OpenGLLayers. Simply to this to get the (nearly) the same behavior as before:
canvas.addWindowClosingListener( new WindowClosingListener()
{
public void onWindowCloseRequested(Canvas3D canvas)
{
MyRenderLoopExtension.this.end();
}
} );
Marvin