hi, i have designed a GUI which accepts user input. i would like to be able to save these values, so that the next time the user runs the application, they do not have to re-enter those values again but can retrieve them from a menubar option. i am not really sure how to go about this task. I was going to use java.util.Properties to do this. is this the right way to go or is there a better way? any help would be much appreciated. thanks in advance
Yes, java.utils.Properties is the way that this is usually done. Here is the section on Properties in the Java tutorial if you need any help on this. A new class, java.util.Preferences, was added in 1.4 that provides a more hierarchical preferences scheme, but Properties should be good for most things.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.