code: protected void init (ManagedRoot root, MediaTimer timer)
      {
          _window = root.getWindow();
          _root = root;
          _root.init(this);
          _timer = timer;
  
          // set up our custom repaint manager
          _repainter = new ActiveRepaintManager(
              (_root instanceof Component) ? (Component)_root : _window);
          RepaintManager.setCurrentManager(_repainter);
  
          // turn off double buffering for the whole business because we handle repaints
          _repainter.setDoubleBufferingEnabled(false);
      }
docs: Initializes this frame manager and prepares it for operation.