@Override
    protected void destroyContext() {
        try {
            renderer.cleanup();
            Display.releaseContext();
            Display.destroy();
        } catch (LWJGLException ex) {
            listener.handleError("Failed to destroy context", ex);
        }
    }
@param width The required display width
@param height The required display height
@param bpp The required bits per pixel. If -1 is passed it will return
          whatever bpp is found
@param freq The required frequency, if -1 is passed it will return
            whatever frequency is found
@return The {@link DisplayMode} matches with specified settings or
        return null if no matching display mode is found
jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglDisplay.java