@Override
  public void dispose() {
    myInactivityDetector.stop();
    myInactivityDetector.removeListener(myHandler);
    getEditor().getDocument().removeDocumentListener(myInactivityDetector);
    super.dispose();
  }
@Override
  public void dispose()