void () { final EditorTextField textField = getEditorTextField(getComponent()); textField.getDocument().removeDocumentListener(myListener); super.doReset(); textField.getDocument().addDocumentListener(myListener); }