public void addStudent(Student student) throws IllegalArgumentException {
			
			// Student names must be unique. This is because of a bug in JComboBox where
			// getSelectedIndex() returns the first index that contains the name of
			// the selected item: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4133743
			// I don't agree with this, because it forces all items in JComboBox to
			// be unique, but c'est la vie.
			//for ( Student s : this.students ) 
			for ( int i = 0; i < this.numStudents; i++ ) {
				Student s = this.students[i];
				if ( s.getName().equals( student.getName() ) )
					throw new IllegalArgumentException("There is already a student with this name in the system.");
			}


			//this.students.add(student);
			if ( this.numStudents < this.students.length ) {
				this.students[numStudents++] = student;
			} else {
				throw new IllegalArgumentException("There are only 100 students allowed");
			}
			
			for (ChangeListener l : this.listeners) {
				l.stateChanged(new ChangeEvent(this));
			}
		}