public void resetContext() {
        if (!context.isRenderable()) {
            return;
        }

        closeCallbacks();
        initCallbacks();
    }
Re-initializes the mouse input context window specific callbacks
jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwMouseInput.java