@Override public VolatileImage createBackBuffer(WComponentPeer peer){
  Component target=(Component)peer.getTarget();
  int w=Math.max(1,target.getWidth());
  int h=Math.max(1,target.getHeight());
  return new SunVolatileImage(target,w,h,Boolean.TRUE);
}

@ Override public VolatileImage createBackBuffer ( WComponentPeer peer ) { Component target = ( Component ) peer . getTarget ( ) ; int w = Math . max ( 1 , target . getWidth ( ) ) ; int h = Math . max ( 1 , target . getHeight ( ) ) ; return new SunVolatileImage ( target , w , h , Boolean . TRUE ) ; }
creates a d3d - based backbuffer for the given peer and returns the image wrapper .
