public void updateRefDisplay()
	{
		// first clear the main display
		clearMainDisplay();

		// create headings for the display
		String headings = String.format("%-5s%-20s%-6s%-4s%-10s%-4s",
				"ID", "Name", "Qual.", "AM", "HL", "VL");
		refereeDisplay.append(headings + "\n");

		// create break line between headings and main information
		for (int i = 0; i < MAIN_TEXT_AREA_COLS; i++)
			refereeDisplay.append("*");
		refereeDisplay.append("\n");

		// make sure that main display is always only sorted by ID
		RefereeClass.setWhichOrder("ID");
		Arrays.sort(refereeProgram.getrefereeClassArray());

		// create the list entries for the display
		for (int x = 0; x < refereeProgram.getelementsInArray(); x++)
			refereeDisplay.append(
					refereeProgram.getRefereeClassAtX(x).guiReportString() + "\n");
	}