Question: 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
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.
pts
When this button is clicked, all the
contacts from "Contact" table of the
database named "MyCompany" will be
retrieved and shown in the jtable.
pts
When this 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.
When this 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.
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
