public void run() { System.out.println("Hello LWJGL " + Version.getVersion() + "!"); try { init(); loop(); // Release window and window callbacks glfwDestroyWindow(window); keyCallback.release(); } finally { // Terminate GLFW and release the GLFWErrorCallback glfwTerminate(); errorCallback.release(); } }