GradedEvent gradedEvent = null;
EntityManager em = emf.createEntityManager();
LOGGER.debug("Getting selected Course");
CourseDAO courseDAO = new CourseDAO(emf.createEntityManager());
Course selectedCourse = (Course) cboCourse.getSelectedItem();
Course course = courseDAO.find(selectedCourse.getId());
//Course course = em.find(Course.class, selectedCourse.getId());
LOGGER.debug("Course Name: " + course.getName());
LOGGER.debug("Querying the data source to see if a GradedEvent "
+ "already exists");