Question: This is a Java Swing Program. I am looking for simple program nothing complicated. Prepare the project below. Only write the action performed methods

This is a Java Swing Program. I am looking for simple program nothing complicated.

" Prepare the project below. Only write the action performed methods for the buttons. You can make use of a model class for contacts. Database name will be MyCompany and the table is Contact. Database connections should be created accordingly."

1- When "Get List" button is clicked, all the contacts from Contact table of the database named MyCompany will be retrieved and shown in the jtable.

2- When Delete button is clicked, selected contact or contacts will be deleted from Contact table in MyCompany database without creation a new contact. Be careful that multiple number of contacts can also be deleted with this button. Contacts should be deleted from jtable as well This is a Java Swing Program. I am looking for simple program

3- When "New" button is clicked, New Contact page will be opened and with the Save button in it, a new contact will be created and saved into Contact table in MyCompany database.

nothing complicated. " Prepare the project below. Only write the action performed

4- When this button is clicked, Edit Contact page will be opened and with the Save button in it, selected contact from jtable will be edited and saved into Contact table in MyCompany database without creating a new contact.

methods for the buttons. You can make use of a model class

Thank you

Contacts Contact List Get List ID Name Surname Phone E-Mail 1 Eric Hall 0533234541 erich@gmail.com 2 Lisa Gray 05379808766 lisag@gmail.com 3 Lucy Melii 05329871122 lucym@xyz.com 4 Tom Fatty 05443421278 tomf@hotmail.co. 5 Dan Tims 05543246578 timsd@abc.com 6 Joe Roll 05457658778 joeroll@gmail.co... UAWN New Edit Delete Exit New Contact ID Name Surname Phone E-Mail Save We Edit Contact ID 5 Name Dan Surname Tims Phone 05543246578 E-Mail timsd@abc.com Save

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!