question: 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 || flipAction == BufferCapabilities . FlipContents . UNDEFINED ) { Graphics g = peer . getGraphics ( ) ; try { g . drawImage ( backBuffer , x1 , y1 , x2 , y2 , x1 , y1 , x2 , y2 , null ) ; } finally { g . dispose ( ) ; } } else 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 flip operation for the given target Component. REMIND: we should really not get here because that would mean that a FLIP BufferStrategy has been created, and one could only be created if accelerated pipeline is present but in some rare (and transitional) cases it may happen that the accelerated graphics device may have a default graphics configuraiton, so this is just a precaution.