calledChooseSaveFile.javathat has no components, but creates an instance of
itself withinmainand has the usual window-closing code (also withinmain).
Within the constructor for the class, declare and initialise an array of three
Personnelobjects (as in programVectorSerialise.javafrom Section 4.9) and
write the objects from the array to a file (using anObjectOutputStream). The
name and location of the file should be chosen by the user via aJFileChooser
object. Note that you will need to close down the (empty) application window
by clicking on the window close box.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here