Class EditPersonDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class EditPersonDialog extends JDialog
This is a dialog for editing a Person. The Person may or may not already exist.
See Also:
  • Constructor Details

    • EditPersonDialog

      public EditPersonDialog(JFrame owner, FamilyTree tree)
      Creates a new EditPersonDialog for adding a new Person to a family tree.
      Parameters:
      owner - The parent JFrame of this dialog box
      tree - The existing family tree
    • EditPersonDialog

      public EditPersonDialog(Person person, JFrame owner, FamilyTree tree)
      Creates a new EditPersonDialog for editing an existing Person.
  • Method Details

    • getPerson

      public Person getPerson()
      Returns the Person created by this EditPersonDialog.
    • main

      public static void main(String[] args)
      Simple test program.