public static void enableDoubleBuffering ( Component c ) { RepaintManager currentManager = RepaintManager . currentManager ( c ) ; currentManager . setDoubleBufferingEnabled ( true ) ; }
Turn the cache back on .