@Override
    public void onStop() {
        Screen currentScreen = nifty.getCurrentScreen();
        if (currentScreen != null) {
            currentScreen.endScreen(null);
        }
    }
Invoked when the event is stopped.
jme3-niftygui/src/main/java/com/jme3/cinematic/events/GuiEvent.java