How to access text file?



just added a class to a new project which access a configuration file. In
debugging the class it keeps saying the file is not present. I have it
located at the root of my package along with most of my .class files and in
the src directory.

What do I need to use to access a file from within netBeans?

I've tried this:

File propFile = new File( parmConfile);
if (! propFile.exists()) return getConfig;

and this:
File propFile = new File("/donutmon1/" + parmConfile);
if (! propFile.exists()) return getConfig;
....

Ideas?


--
kai - theperfectreign@xxxxxxxxx || www.perfectreign.com

"I got a Rock!" - Charley Brown
.