Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This program will practice with queues to manage waiting lists for two seminars. When the program begins, the current enrollment data is read from text

This program will practice with queues to manage waiting lists for two seminars. When the program begins, the current enrollment data is read from text file enrollees.txt using a FileChooser control, stored into the two linked lists, and added to the two ListView controls.
2
Processing: The user enters a name, selects seminar A or B from the radio buttons, and selects the option to Add or Drop the seminar. There is a limit of
5
people for each seminar. Add: If there is room, the person is added to the linked list for that seminar. The List View is refreshed. If there is no room, the person is added to the wait list queue for that seminar. The result message displays. Code can assume names are unique. Drop:
If the name is not found in the selected seminar, the result message reports the error. If the name is
found, the person is removed from the linked list for that seminar. If a person is waiting on the seminar
wait list queue, they are dequeued and added to the linked list. The ListView is refreshed. The result
message displays.
Please write all the code for this in javafx please.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions

Question

Be aware of your own and others goals in conflict situations.

Answered: 1 week ago