Describe the solution you'd like
Currently, when a person is deleted using handleDeletePerson(), the action is performed without any confirmation prompt or success message. To improve user experience, we should:
- Ask for confirmation before proceeding with the deletion.
- Show an information pane once the deletion is completed.
Additional context
-
Display a JOptionPane option dialog before deleting a person.
Message: "Are you sure you want to delete this person?"
Options: Yes / No
Proceed only if the user confirms.
-
If confirmed, execute deletion and then show an information pane confirming the deletion.
Message: "Person deleted successfully!"
Expected sample

Describe the solution you'd like
Currently, when a person is deleted using handleDeletePerson(), the action is performed without any confirmation prompt or success message. To improve user experience, we should:
Additional context
Display a JOptionPane option dialog before deleting a person.
Message: "Are you sure you want to delete this person?"
Options: Yes / No
Proceed only if the user confirms.
If confirmed, execute deletion and then show an information pane confirming the deletion.
Message: "Person deleted successfully!"
Expected sample