public String getCourseName(int courseId) throws SQLException {
		NoteDatabaseManager dm = new NoteDatabaseManager();
		String s_courseId = Integer.toString(courseId);
		String sql = "select course_name from course where course_id = "
				+ s_courseId + ";";
		ResultSet rs = dm.sqlQuery(sql);
		String courseName = null;

		while (rs.next()) {
			courseName = rs.getString("course_name");
		}
		return courseName;
	}