public void actionPerformed(ActionEvent arg0) {

		if (arg0.getActionCommand().equals("CIRCLE")) {
			circleSelected = true;
			lineSelected = false;
		} else if (arg0.getActionCommand().equals("LINE")) {
			lineSelected = true;
			circleSelected = false;
		} else if (arg0.getActionCommand().equals("RED")) {
			redSelected = true;
			greenSelected = false;
			blueSelected = false;
		} else if (arg0.getActionCommand().equals("GREEN")) {
			redSelected = false;
			greenSelected = true;
			blueSelected = false;
		} else if (arg0.getActionCommand().equals("BLUE")) {
			redSelected = false;
			greenSelected = false;
			blueSelected = true;
		}

	}