void () { super.configureEditor(); installEditorKeyListener(comboBox.getEditor()); if (editor instanceof JComponent jEditor) { jEditor.setBorder(DEFAULT_EDITOR_BORDER); editorHoverListener = new MouseHoverPropertyTrigger(comboBox, HOVER_PROPERTY); if (editor instanceof JTextComponent) { editor.addMouseListener(editorHoverListener); } else { EditorTextField etf = UIUtil.findComponentOfType((JComponent)editor, EditorTextField.class); if (etf != null) { etf.addMouseListener(editorHoverListener); etf.setBackground(getComboBackground(true)); } } } }