public void paintIcon(Component c, Graphics g, int x, int y) {
		Graphics2D g2 = (Graphics2D) g.create();
		g2.translate(x, y);
		// Draws the state.
		paintConfiguration(c, g2, getIconWidth(), getIconHeight());
		g2.translate(-x, -y);
	}