@Override
	public void actionPerformed(ActionEvent event) {

		if (event.getSource().equals(greenColor)) {
			color = Color.green;
		}
		if (event.getSource().equals(redColor)) {
			color = Color.red;
		}
		if (event.getSource().equals(blueColor)) {
			color = Color.blue;
		}
		if (event.getSource().equals(yellowColor)) {
			color = Color.yellow;
		}
		if (event.getSource().equals(grayColor)) {
			color = Color.GRAY;
		}
		if (event.getSource().equals(orangeColor)) {
			color = Color.orange;
		}

	}