public static void disableDoubleBuffering(Component c){
  RepaintManager currentManager=RepaintManager.currentManager(c);
  currentManager.setDoubleBufferingEnabled(false);
}

public static void disableDoubleBuffering ( Component c ) { RepaintManager currentManager = RepaintManager . currentManager ( c ) ; currentManager . setDoubleBufferingEnabled ( false ) ; }
the speed and quality of printing suffers dramatically if any of the containers have double buffering turned on . so this turns if off globally .
