void resetVolatileDoubleBuffer(GraphicsConfiguration gc){
  Image image=volatileMap.remove(gc);
  if (image != null) {
    image.flush();
  }
}

void resetVolatileDoubleBuffer ( GraphicsConfiguration gc ) { Image image = volatileMap . remove ( gc ) ; if ( image != null ) { image . flush ( ) ; } }
this resets the volatile double buffer .
