File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Netbeans Text Input Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Netbeans Text Input Problem" Watch "Netbeans Text Input Problem" New topic

Netbeans Text Input Problem

T Conan

Joined: Sep 29, 2004
Posts: 1
Hello all, I am having trouble reading from a simple text file in Netbeans 3.6. I am simply trying to read each line with, a method that I will show you here. This all works perfectly fine in a UNIX environment, but Netbeans refuses to see the file. Here is the code:

I have apparently tried everything in The text file "input.txt" is in my project, and in my mounted filesystem where my sources are. Am I missing something here, or could this be some kind of bug. Any help from someone experienced in Netbeans would be greatly appreciated! Thanks.
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
please post your error message.

Java Developer, Thailand
Fortune Almarinez

Joined: Dec 17, 2003
Posts: 7
Netbeans is looking in its directory not in your mounted one.

Fortune Almarinez<br />===================<br /> @Java Philippines
I agree. Here's the link:
subject: Netbeans Text Input Problem
It's not a secret anymore!