@Override
	public void paint(Graphics g, JComponent c) {
		JButton button = (JButton)c;
		ButtonModel model = button.getModel();
		Insets insets = button.getInsets();
		if (model.isPressed()){
			g.drawImage(UIResources.PRESSED_ROUND_BUTTON_IMAGE, insets.left,insets.top, c);
		} else {
			g.drawImage(UIResources.ROUND_BUTTON_IMAGE, insets.left,insets.top, c);
		}
		Icon icon = button.getIcon();
		
		if (icon != null){
			int dx = insets.left + ((c.getWidth() - (insets.left+insets.right))-icon.getIconWidth())/2;
			int dy = insets.top + ((c.getHeight() - (insets.top+insets.bottom))-icon.getIconHeight())/2;
			icon.paintIcon(c, g, dx, dy);
		}
	}