textComponent.getDocument().removeDocumentListener(documentListener); documentListener = null; textComponent.removePropertyChangeListener(propertyChangeListener); propertyChangeListener = null;
  public void deinstall(JTextComponent c)  {    textComponent.removeFocusListener(this);    textComponent.removeMouseListener(this);    textComponent.removeMouseMotionListener(this);    textComponent = null;  }