public void setPegColor(){
		
		int i = (int)(Math.random()*8+1);
		switch(i){
		case 1: case 2: color = "red"; break;
		case 3: case 4: color = "blue"; break;
		case 5: case 6: color = "white"; break;
		case 7: case 8: color = "yellow";
		}
		
		pegImage = new ImageIcon("Images/" + color + "peg.png");
		setIcon(pegImage);
		selectedImage = new ImageIcon("Images/" + color + "pegselect.png");
		
		}