active = textComponent.isEditable() && textComponent.isEnabled();
  public void install(JTextComponent c)  {    textComponent = c;    textComponent.addFocusListener(this);    textComponent.addMouseListener(this);    textComponent.addMouseMotionListener(this);    propertyChangeListener = new PropertyChangeHandler();    textComponent.addPropertyChangeListener(propertyChangeListener);    documentListener = new DocumentHandler();    textComponent.getDocument().addDocumentListener(documentListener);    repaint();  }