Thursday, June 10, 2004 01:32 PM
I am trying to change one or two properties in my program. First I load the properties file in as "props", and then use the setProperty() to change them. Finally, I use props.store to save them back. I noticed the order of the list of properties in the file changed. The reason is the properties is a Hashtable! How do I keep the original order? I don't want to treat the file as a pure text file and modify in the hard way. Appreciate any help!
Re: How to keep the order of properties in a property file after load, change some of them and store them back.
Thursday, June 10, 2004 01:51 PM