Question: Write a JavaFX GUI application that simulates ASU course enrollment. Once run, the program will generate the following GUI window (an object from class CoursePane),

Write a JavaFX GUI application that simulates ASU course enrollment. Once run, the program will generate the following GUI window (an object from class "CoursePane"), The size of the GUI window is approximately 600 X 400.

[19:58, 21/02/2023] Shashwat: The leftPane contains the "Add Course(s)" label, the "Subject", "Course Num" and "Instructor" labels and a drop down menu which allows user to pick a subject from. Assume the subject list contains only ACC, AME, BME, CHM, CSE, DAT or EEE, and the default subject is CSE.

The centerPane contains the "Add =>" and "Drop <=" two buttons.

The rightPane contains the "Course(s) Enrolled" label, the checkboxContainer (a VBox object) and a message "Total course enrolled: 0" shown at the bottom.

A user can pick a subject from the drop down menu, enter a course number, such as 205, and an instructor's name, such as John Smith, then push the "Add=>" button, then the course's information, together with a CheckBox should appear on the right hand side of the pane (rightPane). Note: (1) after a course is successfully added to the right hand side, all text fields are cleared with no texts and are ready to enter another course's information; (2) Also a message "Course added successfully" should appear at the bottom of the leftPane. [19:58, 21/02/2023] Shashwat: A user can enroll into multiple courses as long as their subject and course number are different. See the following for one example. Also, total number of courses enrolled should be shown at the bottom of rightPane.

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!