public void actionPerformed(ActionEvent evt) {
		String actionCommand = evt.getActionCommand();
		
		if (actionCommand.equals("New Class")) {
			
			//Display current status in program status bar
			canvasPane.setStatus("Click position for new class");
			
			//Set relevant boolean for MouseInterListener
			buttonPane.addVar = true;
			buttonPane.addRel = false;
			buttonPane.delItem = false;
			
		} else if (actionCommand.equals("Remove Class")) {
			
			buttonPane.delItem = true;
			buttonPane.addVar = false;;
			buttonPane.addRel = false;
			
		} else if (actionCommand.equals("Reset Canvas")) {
			
			//Clear the CanvasPanel
			canvasPane.clearCanvas();
			
		} else if (actionCommand.equals("Add Relationship")) {
			
			buttonPane.addRel = true;
			buttonPane.addVar = false;
			buttonPane.delItem = false;
			
		} else if (actionCommand.equals("Export Java")) {
			
			//Export the project as Java code
			canvasPane.exportClass();
			
		} else if (actionCommand.equals("Save Project")) {
			
			//Save the project as an XML file
			canvasPane.saveFile();
			
		} else if (actionCommand.equals("Load Project")) {
			
			//Load a project from an XML file
		    canvasPane.loadFile();
		    
		} else if (actionCommand.equals("Undo")) {
			
			//Undo the last diagram action
			canvasPane.undoAction();
			canvasPane.setStatus("Action un-done successfully");
			
		} else if (actionCommand.equals("Exit Program")) {
			
			//Close the program
			canvasPane.exitProgram();
		}
		
	}