HelpTooltip (@NlsContexts.LinkLabel String linkText, Runnable linkAction, boolean external) { link = new ActionLink(linkText, e -> { hidePopup(true); linkAction.run(); }); if (external) { link.setExternalLinkIcon(); } linkOriginalFontScaler = new JBFontScaler(link.getFont()); return this; }