Question: Create a new git repo on GitHub, then clone it on your local machine. Initialize the project using gradle adding the appropriate instructions in your

Create a new git repo on GitHub, then clone it on your local machine. Initialize the project using gradle adding the appropriate instructions in your 'build.gradle' file to allow for using JavaFX. This project requires you to explore the JavaFX framework on your own, determine the appropriate classes to use. The program accepts and stores information about courses offered in six departments: Computer Science, Mathematics, Chemistry, Physics, Botany, and Zoology. The user can do the following:

  • Enter information about a course by selecting a department name from a combo box, typing in the course number, name, number of credits and then pressing the enter button. The interface checks that the entries are non-empty (displaying an error message otherwise) and then creates a Course object using the information and then stores the object in a java.util.Vector object.
  • Ask to list all courses by clicking on a button labeled "display (all)". All the objects in the Vector object are displayed. There is a scrollbar that allows viewing records that cannot be displayed in the given space. Also, note the department codes such as CS and MATH inserted by the program.
  • Ask to list courses of a given department by clicking on a button labeled "display (dept.)". Courses for the selected department (via the combo box) in the Vector object are displayed.
  • Quit instantly by clicking on the window's 'close' button, or close (after a confirm dialog) via an 'exit' button within the frame.

Department codes store the codes associated with departments in static arrays in the class Course. This mapping should not be duplicated and should be used consistently and reliably within your code. The codes are given below.

Department Code
Computer Science CS
Chemistry CHEM
Physics PHYS
Mathematics MATH
Botany BTNY
Zoology ZOO

Submission

Submit a single PDF formatted using LaTeX. If you are interested I would suggest using Gij's Homework Template from Overleaf. For the exercises with code be sure to add the code into the PDF (and make it look nice). For the project, simply include the URL to the repository.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!