void (JComponent c, Graphics2D g, Rectangle iconRect) { AbstractButton b = (AbstractButton)c; ButtonModel bm = b.getModel(); boolean focused = c.hasFocus() || bm.isRollover(); Icon icon = WinIconLookup.getIcon("radio", bm.isSelected(), focused, bm.isEnabled(), false, bm.isPressed()); icon.paintIcon(c, g, iconRect.x, iconRect.y); }