void (@NlsContexts.Label String text, Color color) { boolean newUnderline = text != null; myForeground = color; if (newUnderline) { updateLabelView(true, text); } else if (myUnderline) { updateLabelView(false, myTooltip); } }