JComponent (@NotNull SimpleColoredText text, @Nullable Icon icon) { SimpleColoredComponent component = createInformationComponent(); component.setIcon(icon); text.appendToComponent(component); return new HintLabel(component); }