If the value of line is null after the first read, then is the file empty?
Type: Posts; User: Norm
If the value of line is null after the first read, then is the file empty?
Try debugging the code by adding some println() statements that print out the values of variables as their value changes. For example the value of line.
That will show you what the computer sees...
Did you have a question?