public List<Course> courseList(int uniId) throws SQLException {
		CourseDatabaseManager dm = new CourseDatabaseManager();
		String s_uniId = Integer.toString(uniId);
		String sql = "select * from course where uni_id = " + s_uniId + ";";
		ResultSet rs = dm.sqlQuery(sql);

		List<Course> cList = new ArrayList<Course>();

		while (rs.next()) {
			int courseId = rs.getInt("course_id");
			String courseCode = rs.getString("course_code");
			String courseName = rs.getString("course_name");
			String courseIntro = rs.getString("course_intro");

			Course c = new Course(courseId, uniId, courseCode, courseName,
					courseIntro);
			cList.add(c);
		}
		return cList;
	}