Search:

Type: Posts; User: Norm

Search: Search took 0.53 seconds.

  1. Re: Trying to input a text file but the program won't read it.

    Try something like: System.out.println(inputFile.getabsolutepath());
    Check the API doc for the File class to get the correct spelling for the method.

    The printed out path will show you where the...
  2. Re: Trying to input a text file but the program won't read it.

    Is the program looking in the right place for the file? Or is the file in the right place?
    Print out the File object's absolutePath to see where the program is looking for the file.
Results 1 to 2 of 2