Using book Head First Java pg 464
Hello all,
I am attempting to use a JFileChooser to save my beatbox data which originally was using a serializable method. I am having trouble grasping how to get a serializable object such as a Boolean that is originally coded to go directly to a hard coded file and turn into something that JFileChooser can save (the user creates the file name vs it being hard coded). Here is an example below:
The working Serialization method:
What I have tried to do with it:
Thanks in advance for any help!