jonas, Pass the file name you want to read as Input parameter to main pgm like > java pgmname "input file". In your main function read it using args into a string say strFile, where args is the main() function argument. In BufferedReader constructor, you say - BufferedReader br = new BufferedReader(strFile); Hope this helps you out.
Thanks 'n Regards,<br />UshaRaju.
moose poop looks like football shaped elk poop. About the size of this tiny ad: