textComponent.removePropertyChangeListener(updateHandler);
  public void uninstallUI(final JComponent component)  {    super.uninstallUI(component);    rootView.setView(null);    textComponent.removePropertyChangeListener(updateHandler);    uninstallDefaults();    uninstallListeners();    uninstallKeyboardActions();    textComponent = null;  }