protected void setErrorText(@NlsContexts.DialogMessage @Nullable String text, @Nullable JComponent component) {
    setErrorInfoAll(text == null ? List.of() : List.of(new ValidationInfo(text, component)));
  }
protected void setErrorText(@NlsContexts.DialogMessage @Nullable String text, @Nullable JComponent component)