Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please Helpp!!!!!! Operation This application begins by displaying a table of cu

ID: 3576808 • Letter: P

Question

Please Helpp!!!!!!

Operation

This application begins by displaying a table of customer data.

If the user clicks the Add button, the application allows the user to add customer data to the table (and the underlying database).

If the user selects a customer row and clicks the Edit button, the application allows the user to update the data for the selected customer row in the table (and the database).

If the user selects a customer row and clicks the Delete button, the application deletes the selected customer row from the table (and the database).

Specifications

Create a Database to store the persons email, firstname, and lastname

Create a class named Customer that stores data for the user’s id, email address, first name, and last name.

Create a class named CustomerDB that contains the methods necessary to get an array list of Customer objects, to get a Customer object for the customer with the specified id, and to add, update, or delete the specified customer.

Create a CustomerManagerFrame class like the one shown above. This frame should display a table of customer data as well as the Add, Edit, and Delete buttons. This class should use the Customer and CustomerDB classes to work with the customer data.

Create a CustomerForm class that allows the user to add or edit customer data.

Create Customer (GUI) Customer Manager Email First Name Last Name frankiones Cyahoo.com John Smith johnsmith chotmail.com seagreen clevi.com ynthia Green Kowolski wendykCwarners.com endy Add Edit Delete

Explanation / Answer

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public category Log extends JFrame

JButton blogin = new JButton("Login");
JPanel panel = new JPanel();
JTextField txuser = new JTextField(15);
JPasswordField pass = new JPasswordField(15);

Log()

JLabel welcome = new JLabel("Welcome to a replacement Frame");
JPanel panel = new JPanel();

newframe()