public void updateRefDetails()
	{
		// get the selected name from combo box and store as a string
		String refNameSearch = (String) refComboBox.getSelectedItem();

		// search through refereeProgram for the refereeClass which
		// matches the name stored from the combo box. When found,
		// create a new window to display and update the referee details.
		for (int x = 0; x < refereeProgram.getelementsInArray(); x++)
		{
			RefereeClass refAtX = refereeProgram.getRefereeClassAtX(x);

			if (refAtX.getRefereeName().equals(refNameSearch))
			{
				refDisplayFrame = new RefDisplayFrame(refAtX, this);
				refDisplayFrame.displayRefDetails();
				refDisplayFrame.setVisible(true);
			}
		}
	}