String (@NotNull @NlsContexts.Label String text, @NotNull Color background) { if (mySimpleDesignMode) { myLabel.setIcon(background != BACKGROUND ? LafIconLookup.getIcon("checkmark") : EmptyIcon.ICON_16); myLabel.setIconTextGap(JBUI.scale(8)); } else { myLabel.setBackground(background); setBackground(background); } myLabel.setForeground(FOREGROUND); myLabel.setText(XmlStringUtil.wrapInHtml(text)); return myLabel.getText(); }