Modify the program of Exercise 24.7 to include a method named deletePerson in class PersonQueries. The method

Question:

Modify the program of Exercise 24.7 to include a method named deletePerson in class PersonQueries. The method should delete an existing entry in the database. Provide a Delete Button. When the user presses this Button, an event handler in the controller class should call PersonQueries method deletePerson to remove the currently selected contact, then update the ListView with the current set of entries in the database and select the first entry.

Exercise 24.7

Modify the program to include a method named updatePerson in class PersonQueries. The method should update an existing entry in the database. Provide an Update Button. When the user presses this Button, an event handler in the controller class should call PersonQueries method updatePerson to update the currently displayed contact with the data in the TextFields.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Java How To Program Late Objects Version

ISBN: 9780136123712

8th Edition

Authors: Paul Deitel, Deitel & Associates

Question Posted: