public void setShowEscExitPrompt(boolean showEscExitPrompt) {
        this.showEscExitPrompt = showEscExitPrompt;
    }
Determines whether to show an exit prompt dialog when the esc keyboard button is invoked.

@param showEscExitPrompt true to show the exit prompt dialog before exiting, false otherwise.
jme3-android/src/main/java/com/jme3/view/surfaceview/JmeSurfaceView.java