float labelAlpha = SubstanceColorSchemeUtilities.getAlpha(label,
labelState);
if (text != null) {
final View v = (View) c.getClientProperty(BasicHTML.propertyKey);
if (v != null) {
v.paint(g2d, paintTextR);
} else {
// fix for issue 406 - use the same FG computation
// color as for other controls
SubstanceTextUtilities.paintText(g, label, paintTextR,
clippedText, label.getDisplayedMnemonicIndex(),