@Override
    public boolean makeCurrent(long context) {
        // 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();
            
            if (drawable == NULL) {
                return false;
            }
            return super.makeCurrent(context);
        } finally {
            JAWT_DrawingSurface_FreeDrawingSurfaceInfo(dsi, ds.FreeDrawingSurfaceInfo());
        }
    }
(non-Javadoc)
@see org.lwjgl.opengl.awt.PlatformGLCanvas#makeCurrent(long) 

@param context long
@return boolean
jme3-lwjgl3/src/main/java/com/jme3/system/lwjglx/X11GLPlatform.java