@Override
    public void restart() {
        if (created.get()) {
            needRestart.set(true);
        } else {
            LOGGER.warning("Display is not created, cannot restart window.");
        }
    }
Restart if it's a windowed or full-screen display.
jme3-vr/src/main/java/com/jme3/system/lwjgl/LwjglWindowVR.java