void setErrors(@NotNull List<? extends HtmlChunk> errors,
                 @NotNull Runnable enableCallback) {
    setVisible(!errors.isEmpty());

    if (isVisible()) {
      setText(toHtml(errors));
      putClientProperty(KEY, enableCallback);
    }
  }
void setErrors(@NotNull List<? extends HtmlChunk> errors,
                 @NotNull Runnable enableCallback)