private static void updateGenderPane() // pane 4
	{
		genderInfo.clear();
		genderInfo.addElement(" ");
		genderInfo.addElement(" ");

		genderInfo.addElement("                  Males");
		genderInfo
				.addElement("_______________________________________________");
		for (int i = 0; i < 10; i++) {
			String lineOut = new String();
			lineOut += " " + new Integer(i).toString() + ".| ";
			int count = 0;
			for (int tableIndex = 0; tableIndex < DiningRoom.size(); tableIndex++) {
				if (((Table) DiningRoom.get(tableIndex)).getMales() == i) {

					if (tableIndex < 9)
						lineOut += " " + new Integer(tableIndex + 1).toString()
								+ "   ";
					else
						lineOut += new Integer(tableIndex + 1).toString()
								+ "  ";

					count++;
				}
			}
			genderInfo.addElement(lineOut);
		}

		genderInfo.addElement(" ");
		genderInfo.addElement(" ");

		genderInfo.addElement("                  Females");
		genderInfo
				.addElement("_______________________________________________");
		for (int i = 0; i < 10; i++) {
			String lineOut = new String();
			lineOut += " " + new Integer(i).toString() + ".| ";
			int count = 0;
			for (int tableIndex = 0; tableIndex < DiningRoom.size(); tableIndex++) {
				if (((Table) DiningRoom.get(tableIndex)).getFemales() == i) {

					if (tableIndex < 9)
						lineOut += " " + new Integer(tableIndex + 1).toString()
								+ "   ";
					else
						lineOut += new Integer(tableIndex + 1).toString()
								+ "  ";

					count++;
				}
			}
			genderInfo.addElement(lineOut);
		}

		gradeHistogram = new JList(genderInfo);
	}