The scanner constructor takes a string as a source to read from, the string is not a filepath
use this
File file = new File(fName);
Scanner in = new Scanner(file);
dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143