JComponent (@Nullable Icon icon, @NotNull SimpleColoredText text, @NotNull XValuePresentation presentation, @Nullable XFullValueEvaluator evaluator) { var panel = installInformationProperties(new BorderLayoutPanel()); SimpleColoredComponent component = HintUtil.createInformationComponent(); component.setIcon(icon); text.appendToComponent(component); panel.add(component); if (evaluator != null) { var evaluationLinkComponent = new SimpleColoredComponent(); appendEvaluatorLink(evaluator, evaluationLinkComponent); LinkMouseListenerBase.installSingleTagOn(evaluationLinkComponent); panel.addToRight(evaluationLinkComponent); } return panel; }