Question: Completing the Programming of a JavaFX Application Using Lambda Expressions In this assessment, you will complete the programming of a lambda expression event handler of

Completing the Programming of a JavaFX Application Using Lambda Expressions In this assessment, you will complete the programming of a lambda expression event handler of a JavaFX application. The application registers students for courses in a term of study. The application does compile and does run, but it does not produce the expected result as stated in its requirements. You have been hired to complete the source code of this lambda expression event handler such that the application meets its stated requirements. Specifically, your added code should: Validate the user course selection for registration against the given registration business rules Display either an error with explanation or a registration confirmation message based on your validation of user selection Update and display the current list of valid registered courses and their total credit hours The requirements of this application are as follows. The application is register students for courses in a term of study. The assumptions used by the application are: Each course carries 3 credit hours The program terminates only when the student closes it The program must follow these registration business rules: No registration more than once for the same course No registration for more than 9 credit hours (e.g. no more than 3 courses) The application uses the JavaFX GUI platform for its implementation. Students select from a JavaFX ComboBox menu of courses for which they wish to register. The program use a lambda expression event handler to validate user selection and act accordingly. If the user selection is valid against the registration business rules, the program displays a registration confirmation message to the student for the selected course. Otherwise, the program displays an error message explaining the reason of the invalidation of the selection. The application maintains and displays a current list of registered courses. Additionally, the application maintains and displays a cumulative total credit hours the student has registered for thus far. Use these course codes, in this order, to test your application: IT2230 IT3349 IT2230 IT4782 IT4784

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!