component.removeMouseMotionListener(this);
    public void setComponent (JComponent component)    {        this.component = component;        component.addMouseListener(this);        component.addMouseMotionListener(this);    }