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.

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

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

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!