JComponent (@NotNull @HintText String text, @Nullable HyperlinkListener hyperlinkListener, @Nullable MouseListener mouseListener, @Nullable Ref<? super Consumer<@Nls String>> updatedTextConsumer) { HintHint hintHint = getInformationHint(); HintLabel label = createLabel(text, null, hintHint.getTextBackground(), hintHint); configureLabel(label, hyperlinkListener, mouseListener, updatedTextConsumer); return label; }