How to save data in cells of JTable upon program termination and reload into correct cells upon restart

I would like to know how to save all of the data in each cell of a JTable (the data will be in String form if that makes any difference) upon exiting and load said information into the corresponding cells with a reloading method once the program is reopened. I've used a DefaultTableModel if that would be of any use here.  

Thank You,
Anonymous
Rene DescartesAsked:
Who is Participating?
 
krakatoaConnect With a Mentor Commented:
JTable implements Serializable, so you can use that across the table.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.