@Override
    public boolean swapBuffers() {
         // Get the drawing surface info
        JAWTDrawingSurfaceInfo dsi = JAWT_DrawingSurface_GetDrawingSurfaceInfo(ds, ds.GetDrawingSurfaceInfo());
        if (dsi == null) {
            throw new IllegalStateException("JAWT_DrawingSurface_GetDrawingSurfaceInfo() failed");
        }
        
        try {
            // Get the platform-specific drawing info
            JAWTX11DrawingSurfaceInfo dsi_x11 = JAWTX11DrawingSurfaceInfo.create(dsi.platformInfo());

            // Set new values
            display  = dsi_x11.display();
            drawable = dsi_x11.drawable();
            
            // Swap-Buffers            
            return super.swapBuffers();
        } finally {
            JAWT_DrawingSurface_FreeDrawingSurfaceInfo(dsi, ds.FreeDrawingSurfaceInfo());
        }
    }
(non-Javadoc)
@see org.lwjgl.opengl.awt.PlatformGLCanvas#swapBuffers() 
@return boolean
jme3-lwjgl3/src/main/java/com/jme3/system/lwjglx/X11GLPlatform.java