RepaintManager rm = RepaintManager.globalManager;
ThreadGroup threadGroup = Thread.currentThread().getThreadGroup(); RepaintManager rm = (RepaintManager) currentRepaintManagers.get(threadGroup);
    public void run()    {      RepaintManager rm = RepaintManager.globalManager;      setLive(false);      rm.validateInvalidComponents();      rm.paintDirtyRegions();    }