Friday, September 7, 2001 09:18 AM
You could use serialization to store preferences but I would not serialize any Swing classes directly. Most of them still carry the warning that serialized instances may not be compatible with future versions. This means that if your users install a newer VM (even just a maitenance release), you run the risk that your saved data will not load anymore. Check the JavaDocs for any classes you plan to serialize and watch out for the warning.