JComponent () { Configurable configurable = myConfigurable; JComponent preferred = configurable == null ? null : configurable.getPreferredFocusedComponent(); return preferred == null ? IdeFocusTraversalPolicy.getPreferredFocusedComponent(myCenterPanel) : preferred; }