@Override
    public void destroy(){
        super.destroy();

        System.out.println("Destroy");
    }
Test a bare-bones application, without SimpleApplication.
jme3-examples/src/main/java/jme3test/app/TestBareBonesApp.java