Hi,
I am new to java and learning swing while working on an internship project. I am attempting to save a CheckBoxTree when we save the current project and I am getting the following error:
java.io.NotSerializableException: com.jidesoft.swing.CheckBoxTree$1
The information I am saving contains multiple classes that hold metagenomic data in the form of a tree containing genetic sequences. All of my data classes imlement serializable and I get the above error when I try to save. My code for saving the data is:
FileOutputStream fos = new FileOutputStream(file);
ObjectOutputStream out = new ObjectOutputStream(fos);
out.writeObject(model.getProject());
out.flush();
fos.close();
out.close();
I tried to research for this error including in the forums here but I could not find any other cases of this. I apologize if this has been brought up before.
Thank you for the help