public static JComponent createWarningLabel(@NotNull @HintText String text,
                                              @Nullable HyperlinkListener hyperlinkListener,
                                              @Nullable MouseListener mouseListener) {
    Color bg = getWarningColor();
    HintHint hintHint = new HintHint()
      .setBorderColor(getHintBorderColor())
      .setTextBg(bg)
      .setTextFg(JBColor.foreground())
      .setFont(getBoldFont())
      .setAwtTooltip(true)
      .setStatus(HintHint.Status.Warning);
    HintLabel label = createLabel(text, null, bg, hintHint);
    configureLabel(label, hyperlinkListener, mouseListener, null);
    return label;
  }
public static JComponent createWarningLabel(@NotNull @HintText String text,
                                              @Nullable HyperlinkListener hyperlinkListener,
                                              @Nullable MouseListener mouseListener)