code: public static void installJideRepaintManagerIfNeeded() {
  
          final RepaintManager current = RepaintManager.currentManager(null);
          if (current != JideRepaintManager.getInstance()) {
  
              // (JAF), 20110101, This is needed unless for setting a suitable PaintManager on target (RepaintManager
              // seems to be over-protected).
              ObjectUtils.shallowCopy(current, JideRepaintManager.getInstance());
  
              RepaintManager.setCurrentManager(JideRepaintManager.getInstance());
          }
      }
docs: Installs this repaint manager if not already set.
  
  @see ObjectUtils#shallowCopy(Object, Object)