Project Extension 3

UNIVERSITY OF NEW YORK TIRANA
Komuna e Parisit,Tirana, Albania
Tel.: 00355-(0)4-273056-8 – Fax: 00355-(0)4-273059
Web Site Address: http://www.unyt.edu.al
Object-Oriented Programming with Java
Fall 2016
Project in JAVA
Project Extension 3
Complete the following extensions to the current project:
1. Once the user is logged in he can load the previously saved data from a file. To do this he
has to select from the menu the option Load Data.
Suggestion:
Add a new voice in the main menu called “Load Data” which will open e new window
with JFileChooser. Once the window is opened, the user can select the file where the data
should be loaded from.
2. The user can save the data during the whole execution of the program or before closing
the program.
Suggestion:
Add a new voice in the main menu called “Save Data” and perform in this JMenuItem the
savings of all the data.
Suggestion on how to save the data:
Use serialization and serialize the Baskets following the example introduced in class with
AccountRecordSerializable.