public void actionPerformed(ActionEvent e)
	{
		// handles pressing the update button
		if (e.getSource() == updateRefButton)
			updateRefDetails();

		// handles pressing the delete button
		if (e.getSource() == deleteRefButton)
			processDeleteReferee();

		// handles pressing the add button
		if (e.getSource() == addRefButton)
			processAddReferee();

		// handles pressing the bar chart button
		if (e.getSource() == barChartButton)
			createBarChart();

		// handles pressing the match allocations button
		if (e.getSource() == matchAllocationsButton)
			processRefereeAllocation();

		// handles pressing the save and exit button
		if (e.getSource() == saveExitButton)
			processSaveAndExit();
	}