problem with properties...

hi everybody...

i couldnot find where i could post my problem. i dont know if this is the right place... if anybody got a solution pls write to me...

Problem:

i got a properties file "XYZ.properties" which containg the followint data:

//--

3 = aaaa

2 = bbbb

1 = cccc

//--

i need to key the key set for the file as shown. but when i ask for a key set i get an enumeration and the file is sorted as below:

//--

1 = cccc

2 = bbbb

3 = aaaa

//--

if some body got a solution of how i could get the actual order or the file pls write to me...

thnx in advance..

manoj..

[672 byte] By [manojrapakaa] at [2007-10-3 8:40:21]
# 1
STFW on reading props files
MickeyOnJavaa at 2007-7-15 3:48:32 > top of Java-index,Desktop,Runtime Environment...