protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect) { AbstractButton b = (AbstractButton) c; if (b.getIcon() != null) { int x = iconRect.x; int y = iconRect.y;
protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect) { AbstractButton b = (AbstractButton) c; Icon i = currentIcon(b);
    protected void paintIcon(Graphics g, 			     JComponent c, 			     Rectangle iconRect)    {	AbstractButton b = (AbstractButton) c;	if (b.getIcon() != null)	    {		int x = iconRect.x;		int y = iconRect.y;		System.out.println("WE HAVE AN ICON: " + b.getIcon()); 		b.getIcon().paintIcon(c, g, x, y);	    }	else	    {		//System.out.println("NO ICON FOR BUTTON:" + b.text);	    }    }