Continue extending the Figs project by taking the following steps.
Add a method to class Databook named writeEvents that takes a file name as a parameter (a String). It should write the contents of the datebook to the specified file using whatever format you find convenient. I recommend outputing one event per line.
Modify the Datebook constructor so that it reads the datebook file created by writeEvents and loads the events into the datebook.
Modify the main program so that it automatically writes the datebook when exiting and reads it when starting up.
These modifications should render your program into a usable tool!
Send me the modified Datebook.java and Figs.java files.