public void actionPerformed(ActionEvent e) {
		System.out.println(e.getActionCommand() + " pressed.");
		if (e.getActionCommand() == "BOXSELECT") {
			boxSelect();
		}
		else if (e.getActionCommand() == "BRUSH") {
			brush();
		}
		else if (e.getActionCommand() == "ERASER") {
			eraser();
		}
		else if (e.getActionCommand() == "LINE") {
			line();
		}
		else if (e.getActionCommand() == "RECT") {
			rect();
		}
		else if (e.getActionCommand() == "ELLIPSE") {
			ellipse();
		}
		else if (e.getActionCommand() == "BUCKET") {
			bucket();
		}
	}