void (FocusEvent event) { JComponent compToFocus = null; if (myConditionComboBox != null && myConditionComboBox.getComboBox().isEnabled()) { compToFocus = myConditionComboBox.getEditorComponent(); } else if (breakpointType.getVisibleStandardPanels().contains(XBreakpointType.StandardPanels.ACTIONS)) { compToFocus = myActionsPanel.getDefaultFocusComponent(); } if (compToFocus != null) { IdeFocusManager.findInstance().requestFocus(compToFocus, false); } }