Question: Linked List implementation in a GUI as a JavaFX Application. First you are going to implement a linked-list. This class must have minimum following member
Linked List implementation in a GUI as a JavaFX Application.

First you are going to implement a linked-list. This class must have minimum following member methods: constructor, insertItem, printList, and clearList.
insertItem: insert data to the list in the ascending order
printList : prints the list starting from the head
clearList : Assigns all items in the list to null,
In the GUI, there will be 5 numbered buttons, which represent the data to be inserted into the list.
When a numbered button is clicked:
its data will be inserted into mList,
the numbered button will be disabled,
the information field will be updated using mList.printList()
When Reset button is clicked:
all numbered buttons will be enabled
mList will be cleared
The information field will be updated using mList.printList()
When Close button is clicked:
The application is closed.
2 3 4 5 mHead -> Reset Close
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
