void () { super.unconfigureEditor(); if (editorKeyListener != null) { editor.removeKeyListener(editorKeyListener); } if (editor instanceof JTextComponent) { if (editorFocusListener != null) { editor.removeFocusListener(editorFocusListener); } } else { EditorTextField etf = UIUtil.findComponentOfType((JComponent)editor, EditorTextField.class); if (etf != null) { if (editorFocusListener != null) { etf.removeFocusListener(editorFocusListener); } } } }