private void paintButton(Graphics g, String name, Rectangle box, Color color) {
		g.setColor(color);
		g.fillRect(box.x, box.y, box.width, box.height);
		g.setColor(Color.BLACK);
		g.drawRect(box.x, box.y, box.width, box.height);
		g.setFont(new Font(Font.SANS_SERIF, Font.PLAIN, 16));
		g.drawString(name, box.x + (box.width - g.getFontMetrics().stringWidth(name)) / 2,
				box.y + (box.height) * 3 / 4);
	}