code: protected void removeTargetListeners (Component comp)
      {
          comp.removeMouseListener(_targetListener);
          comp.removeMouseMotionListener(_targetListener);
          if (comp instanceof Container) { // again, always true for JComp...
              Container cont = (Container) comp;
              cont.removeContainerListener(_childListener);
              for (int ii=0, nn=cont.getComponentCount(); ii < nn; ii++) {
                  removeTargetListeners(cont.getComponent(ii));
              }
          }
      }
docs: Remove the appropriate target listeners to this component
  and all its children.