Question: Java Program: Managing Lists of Things: For this program, you will be asked to add functions to a list management program. You may build on
Java Program: Managing Lists of Things:
For this program, you will be asked to add functions to a list management program. You may build on the work you did for program #1 in which you created a list of Things. Of course you may start fresh but you may be able to save some time if you build on program #1.
You may already have implemented the following functions in program #1 but if not, you do need to provide them for program #2.
Implement the sort of Thing to be stored on your list as a class. The object/class must have the following characteristics:
o At least 5 attributes/characteristics
o At least one numeric attribute
o At least one String attribute
o One String attribute should be usable as a search key
Create the list by implementing a collection of the objects using an array. You may NOT use the library class ArrayList.
Allow the user to enter data and store it in the list.
Display the complete list, reflecting all changes.
Check for errors such as entering text in a numeric field or entering more values than can be held in the array of objects. Gracefully recover from any problems without crashing the program. (See Appendix C for more on exception handling.)
Use of a graphical user interface such as JavaFX is required.
Implement Cloneable and clone() for your Thing class. Use deep copying appropriately.
Implement and use the Comparable interface.
(Extra credit) Implement and use an iterator over your list. Use the Iterator interface correctly. Or you may choose to use the Iterable interface instead.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
