boolean () { JComponent ec = (JComponent)comboBox.getEditor().getEditorComponent(); EditorTextField etf = UIUtil.findComponentOfType((JComponent)editor, EditorTextField.class); Editor editor = etf != null ? etf.getEditor() : null; return arrowButton != null && arrowButton.getClientProperty(HOVER_PROPERTY) == Boolean.TRUE || ec != null && ec.getClientProperty(HOVER_PROPERTY) == Boolean.TRUE || editor != null && editor.getContentComponent().getClientProperty(HOVER_PROPERTY) == Boolean.TRUE; }