check.paintIcon(c, g, checkX, checkY);
}
icon = ButtonCommons.getCurrentIcon(item);
if (icon != null) {
icon.paintIcon(c, g, iconR.x, iconR.y);
}
paintText(g, item, textR, item.getText());
paintAccelerator(g, viewR, iconR, textR, textIconGap, isLTR);
g.setColor(oldColor);
}