Swing - Saving the properties of a JTable on program exit

Hello.

I have a JTable that the user can manipulate. It opens up in a default way, but then they can sort and view only certain columns. I want it to be, when the user closes the program, and then reopens it, it reopens with the same sort and column view as when they closed it. I looked online on how to do that, but I didn't find anything useful. So how would I go about doing this?

Thanks in advance.

[425 byte] By [kasandracorvinaa] at [2007-11-26 23:15:17]
# 1
create an xml file with all the stuff that you can manipulate and register in the lastconfiguration....
suparenoa at 2007-7-10 14:14:57 > top of Java-index,Desktop,Core GUI APIs...