code: public void hijack ()
      {
          _mls = _comp.getMouseListeners();
          for (int ii=0; ii < _mls.length; ii++) {
              _comp.removeMouseListener(_mls[ii]);
          }
  
          _mmls = _comp.getMouseMotionListeners();
          for (int ii=0; ii < _mmls.length; ii++) {
              _comp.removeMouseMotionListener(_mmls[ii]);
          }
  
          _comp.addMouseMotionListener(_motionCatcher);
      }
docs: Hijack the component's mouse listeners.