Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Purpose: To be able to Do CRUD operations against object arrays of different types. Sort with the comparator class Achieve this overall goal from the

Purpose: To be able to Do CRUD operations against object arrays of different types. Sort with the comparator class Achieve this overall goal from the course syllabus: "After completing this, you should be able to create a Java application with a user interface in which the user can add to, delete, modify, search and list data.

This is created with java.

It is important that the user receives a response as to what happened after each button press, so certain the result of these in a text area.

4. Make a GUI program, see example below, with JFrame and suitable Swing components where you can:

a. Add a CD discs to an array of CD objects.

b. Change information about CD based on CD ID

c. Remove CD based on CD ID

d. Search by music genre and list all CDs for the searched genre.

e. Search for the artist and list all CDs for the searched artist.

i. Talk about how many records this particular artist has made

f. List data about all CDs in the array of CD objects

g. A sort button that sorts by artist name. And one on production year. Use Arrays.sort and a Comparator class.

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

Step: 3

blur-text-image

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago