public @Nullable JComponent getPreferredFocusedComponent() {
    if (myPreferredFocusedComponentFromPanel != null) {
      return myPreferredFocusedComponentFromPanel;
    }
    return SystemInfoRt.isMac ? myPreferredFocusedComponent : null;
  }
public @Nullable JComponent getPreferredFocusedComponent()