Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

keep order of property file..

807580Mar 8 2010 — edited Mar 9 2010
Hi,

When I load/modify/save the file 'settings.properties' using java.util.Properties, the order of the properties in the original 'settings.properties' file is different from the saved settings.properties file. Is there a way to keep the order of the saved property file the same as the original property file?

I hope someone can help me. Thanks!

Tongue78.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2010
Added on Mar 8 2010
19 comments
4,079 views