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