private static void SwapStudents() {
		int indexOfStu1 = -9;
		int indexOfStu2 = -9;

		String lName = new String();
		String fName = new String();

		boolean okStu1 = false;
		boolean okStu2 = false;
		boolean okToSwap = false;

		int studentOn = 1;

		while (!(okToSwap)) {
			fName = JOptionPane
					.showInputDialog("Please enter enter the student's first name.");
			lName = JOptionPane.showInputDialog("Please enter the #"
					+ studentOn + " student's last name.");
			
			int indexOfStu = studentExists(fName, lName);

			if (indexOfStu != -9999) // if student exists
			{
				JOptionPane.showMessageDialog(null, "Student #" + studentOn
						+ " was found at index " + indexOfStu + ".");
				if (studentOn == 1) // if we're on the first stu,
				{
					indexOfStu1 = indexOfStu; // student 1 exists.
					okStu1 = true;
					studentOn = 2;
				}

				else if (studentOn == 2) // if we're on the second stu,
				{
					indexOfStu2 = indexOfStu; // student 2 exists
					okStu2 = true;
					studentOn = 0;
				}
			}

			else
				JOptionPane.showMessageDialog(null,
						"Sorry.  Student not found.  Please re-enter a name.");

			if (okStu1 && okStu2) // if both students exist,
				okToSwap = true; // OK to swap
		}
		Swap(indexOfStu1, indexOfStu2);
	}