posted 14 years ago
thank you for the response balu..
textreader is not my own class but java predefined input stream..
i have read the file word by word,,,,
and not line by line...
its like the text file of the form
0.300, -124.87,
0.362, -127.36,
0.425, -129.30,
0.487, -131.52,
0.549, -133.48,
0.612, -135.43,
0.674, -137.19,
0.736, -138.74,
0.798, -140.21,
0.861, -141.52,
0.923, -142.71,
0.985, -143.86,
1.048, -144.94,
1.110, -146.01,
1.172, -146.87,
1.235, -147.60,
1.297, -148.74,
1.359, -149.45,
1.422, -150.16,
1.484, -151.03,
1.546, -151.56,
1.609, -152.31,
1.671, -152.99,
1.733, -153.76,
1.796, -154.51,
1.858, -155.06,
and my job is to read the file and display a graph between the 1st and 2nd colmns
as X and Y axis, i have my graph prgm, jus had prblm in readin the contents..
so i thought the option of reading the file word by word and storin the colmnsin separate arrays and linkin
them with graph prgrams..
kindly correct me if you think i m wrong somewhr..
thanks for all your help