parent.removeFocusListener(this); parent.removeMouseListener(this); parent = null;
textComponent.removeFocusListener(this); textComponent.removeMouseListener(this); textComponent.removeMouseMotionListener(this); textComponent = null;
    public void deinstall(JTextComponent c)    {	parent.removeFocusListener(this);	parent.removeMouseListener(this);	parent = null;        }