}
protected void paintIcon(final Graphics g, final JComponent c, final Rectangle iconRect) {
final Icon icon = ButtonCommons.getCurrentIcon((AbstractButton)c);
if (icon != null) {
icon.paintIcon(c, g, iconRect.x, iconRect.y);
}
}
protected void paintText(final Graphics g, final AbstractButton b,
final Rectangle textRect, final String text) {