public void dispose() {
      component.removeFocusListener(focusListener);
      component.removePropertyChangeListener(propertyChangeListener);
      component.getDocument().removeDocumentListener(documentListener);
    }
public void dispose()