Question: As a follow up to Assignment3, add File Storage features where the CheckingAccount will be written to and read from a file when prompted by

As a follow up to Assignment3, add File Storage features where the CheckingAccount will be written to and read from a file when prompted by the user. The File should be loaded via a FileDialog component where the user chooses the file to load which contains the account info. Add choices to the RadioButton group for input and output from/and to the File. Whenever an account is read in from the file, it overrides the account that is currently in the computers memory. When the Frame is closed, the user must be given the choice to save the account when the account has changed since the last time it was saved. He should not be prompted when the data is already saved. Use appropriate IOException handling with throws clauses and try-catch blocks protecting all code containing file operations.

I need help with how to override the account that is in the computer memory and how to check if there has been any changes made to account since it has last been saved.

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 Databases Questions!