Question: java Write a GUI application that hosts the Person hierarchy. The application should provide, at a minimum: File menu with New, Open..., Save, Save As

java
Write a GUI application that hosts the Person hierarchy.
The application should provide, at a minimum:
File menu with New, Open..., Save, Save As..., and Exit.
The Open... and Save As... should make use of a JFileChooser dialog.
Help menu with at least one "help" option.
The application should use a drop-down list to allow the user to select a Person to view / edit / delete / whatever.
Note the "serialization" demo, allows you to save and retrieve containers of objects, and which is provided for that use here.
The user should be able to use the GUI to load, create, modify, delete, and save objects of type Person, RegisteredPerson, and OCCCPerson.
Hint - think in terms of a "container" of objects. That is what you save and load. Then the contents of that container are displayed and manipulated by the GUI.
Deliverables:
Your source files (Person.java, RegisteredPerson.java, OCCCPerson.java, and PersonGUI.java).
A link to your video (on YouTube or wherever you elect to host it) in which you provide a full demo of your application. In this demo you will:
Start the application
Create five objects in the Person hierarchy
Remove one of them
Edit one of them (change the last name)
Save your work
Close the application
Open the application
Open the saved file
Show that the four Persons are loaded in the application

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!