question: @ Override public void flip ( WComponentPeer peer , Component target , VolatileImage backBuffer , int x1 , int y1 , int x2 , int y2 , BufferCapabilities . FlipContents flipAction ) { if ( flipAction == BufferCapabilities . FlipContents . COPIED ) { SurfaceManager vsm = SurfaceManager . getManager ( backBuffer ) ; SurfaceData sd = vsm . getPrimarySurfaceData ( ) ; if ( sd instanceof WGLVSyncOffScreenSurfaceData ) { WGLVSyncOffScreenSurfaceData vsd = ( WGLVSyncOffScreenSurfaceData ) sd ; SurfaceData bbsd = vsd . getFlipSurface ( ) ; Graphics2D bbg = new SunGraphics2D ( bbsd , Color . black , Color . white , null ) ; try { bbg . drawImage ( backBuffer , 0 , 0 , null ) ; } finally { bbg . dispose ( ) ; } } else { Graphics g = peer . getGraphics ( ) ; try { g . drawImage ( backBuffer , x1 , y1 , x2 , y2 , x1 , y1 , x2 , y2 , null ) ; } finally { g . dispose ( ) ; } return ; } } else if ( flipAction == BufferCapabilities . FlipContents . PRIOR ) { return ; } OGLSurfaceData . swapBuffers ( peer . getData ( ) ) ; if ( flipAction == BufferCapabilities . FlipContents . BACKGROUND ) { Graphics g = backBuffer . getGraphics ( ) ; try { g . setColor ( target . getBackground ( ) ) ; g . fillRect ( 0 , 0 , backBuffer . getWidth ( ) , backBuffer . getHeight ( ) ) ; } finally { g . dispose ( ) ; } } }
target:  Performs the native WGL flip operation for the given target Component.