@Override
    public void dispose() {
        if (executorService != null) {
            executorService.shutdownNow();
        }

        super.dispose();
    }
Constructs a new TestChooser that is initially invisible.
jme3-examples/src/main/java/jme3test/TestChooser.java