public void setImage(int id, boolean faceUp) {
		if (faceUp) {
			setIcon(new ImageIcon(getClass().getResource(
					"resources/" + id + ".png")));
		} else {
			setIcon(new ImageIcon(getClass().getResource("resources/52.png")));
		}
		revalidate();
		repaint();
	}