public @Nullable JComponent getPreferredFocusedComponent() {
    if (myNameVisible) {
      return myNameField;
    }
    else {
      final CredentialsType selectedType = getSelectedType();
      final TypeHandler typeHandler = myCredentialsType2Handler.get(selectedType);
      if (typeHandler != null) {
        JComponent preferredFocusedComponent = UIUtil.getPreferredFocusedComponent(typeHandler.getContentComponent());
        if (preferredFocusedComponent != null) return preferredFocusedComponent;
      }
      return myTypesPanel;
    }
  }
public @Nullable JComponent getPreferredFocusedComponent()