@Override
    public @Nullable JComponent getPreferredFocusedComponent() {
      return myLogin == null ? myLoginField : myPasswordField;
    }
@Override
    public @Nullable JComponent getPreferredFocusedComponent()