@Override
                    public void invoke(int error, long description) {
                        final String message = GLFWErrorCallback.getDescription(description);
                        listener.handleError(message, new Exception(message));
                    }
Apply the settings, changing resolution, etc.

@param settings the settings to apply when creating the context.
jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglWindow.java