CourseDB without JOptionPanes