public void setSelectedColor(Color c) {
		if (c.equals(Color.RED)) setSelectedIndex(0);
		if (c.equals(Color.GREEN)) setSelectedIndex(1);
		if (c.equals(Color.BLUE)) setSelectedIndex(2);
		if (c.equals(Color.CYAN)) setSelectedIndex(3);
		if (c.equals(Color.WHITE)) setSelectedIndex(4);
		if (c.equals(Color.GRAY)) setSelectedIndex(5);
		if (c.equals(Color.YELLOW)) setSelectedIndex(6);
	}