Skip to content

Show Confirmation and Information Panel for Deleting a Person #8

Description

@Japoivvb

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:

  1. Ask for confirmation before proceeding with the deletion.
  2. 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

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions