@SuppressWarnings("unchecked")
	private void updateList() {
		boolean		foundSelected = false;
		
		Students st[] = new Students[1];
		view.getStudentList().setListData(((Students []) students.toArray(st)));

		GPA g[] = new GPA[1];
		view.getGPAList().setListData(((GPA []) gpa.toArray(g)));
		
		Departments d[] = new Departments[1];
		view.getDepartmentsList().setListData(((Departments []) departments.toArray(d)));
		/*
		Programs prog[] = new Programs[1];
		view.getProgramsList().setListData(((Programs []) programs.toArray(prog)));
		
		Courses c[] = new Courses[1];
		view.getCoursesList().setListData(((Courses []) courses.toArray(c)));
		
		Section sec[] = new Section[1];
		view.getSectionList().setListData(((Section []) section.toArray(sec)));
		
		Semester sem[] = new Semester[1];
		view.getSemesterList().setListData(((Semester []) semester.toArray(sem)));
		
		Professor prof[] = new Professor[1];
		view.getProfessorsList().setListData(((Professor []) professors.toArray(prof)));
		
		Research r[] = new Research[1];
		view.getResearchList().setListData(((Research []) research.toArray(r)));
		
*/
		if (selectedStudent != null)
			view.getStudentList().setSelectedValue(selectedStudent, true);
		
		if (selectedGPA != null)
			view.getGPAList().setSelectedValue(selectedGPA, true);
		
		if (selectedDepartments != null)
			view.getDepartmentsList().setSelectedValue(selectedDepartments , true);
		
		if (selectedPrograms != null)
			view.getProgramsList().setSelectedValue(selectedPrograms, true);
		
		if (selectedCourses != null)
			view.getCoursesList().setSelectedValue(selectedCourses, true);
		
		if (selectedSection != null)
			view.getSectionList().setSelectedValue(selectedSection , true);
		
		if (selectedSemester != null)
			view.getSemesterList().setSelectedValue(selectedSemester, true);
		
		if (selectedProfessor != null)
			view.getProfessorsList().setSelectedValue(selectedProfessor, true);
		
		if (selectedResearch != null)
			view.getResearchList().setSelectedValue(selectedResearch, true);

	}