Question: Define a context that requires storing a list - oriented collection of related data. First, define your own data. Define a class for one storage
Define a context that requires storing a listoriented collection of related data.
First, define your own data. Define a class for one storage entity. Examples could be a list of "songs" with
each song including a title, artist, genre, time, etc. Another could be a "friend" with attributes name,
birthdate, address, email, and so forth. Include at least four attributes with one as the key that defines the
object uniquely.
Create a text file to contain the data for at least of these objects. Data for one object should occupy one
line of the file. Feel free to keep your file simple with minimal white space or comma delimiters separating
each of the attributes.
Create driver program to act as a interactive list manager that includes and array of objects or parallel
arrays no use of the Java ArrayList class, please
Your interface should be driven by a formal framebased JavaFX GUI that includes a larger text area for
displaying your list data in columns. Utilize buttons and labels as needed for the operations and user
feedbackinstructions For your text area, consider setting the text area font to a monospaced font like
Courier or Courier New to maintain column formatting. Button clicks should prompt for the various
list actions. Given this, however, you are nevertheless free to design your own clear clean, organized,
userfriendly interface within these general constraints.
As part of this, your program should include the following features:
Read information from input file
Add a new element
Delete an existing element using the key to search and delete
Sort ascending relative to one field of data
Sort descending relative to a different field of data
Randomize the list
Write the information back to the file in the same format
Design your application using guidelines to maximize modularity, reusability, and maintainability.
Please avoid use of ArrayList class for storage and Arrays class for sorting. One key objective with
this assignment is to work with the basic arrays and related algorithms..
Hints consider techniques demonstrated in the following instructor examples:
ParallelSort as an example for the interface
SearchObjects as an example for the list management
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
