Where should I place a text file for netbeans to read?
<p>I am new to java but I have looked for an answer but unfortunately haven't found one specific to my situation. I'd like to know where to place my file "icecream.txt" so that netbeans can read it. My programs works if I code the absolute the path but I'd prefer not to do that as it needs to run on the other student's computers without changes. I have attached an image of where I have placed my file. Any help would be appreciated.
<a href="http://i.stack.imgur.com/PsuT6.png" rel="nofollow">neatbeans file folders</a></p>

<p>My code is bellow if that helps</p>

<pre><code>package icecreamsales;
/**
 *
 * @author anonymous
 */
public class IceCreamSales {

/**
 * @param args the command line arguments
 */
    public static void main(String[] args) {

        try {
             TextIO.readFile("icecream.txt");
        }
        catch (IllegalArgumentException e) {
            System.out.println("Can't open file \"icecream.txt\" for reading!");
            System.out.println("Please make sure the file is present before");
            System.out.println("running the program.");
            System.exit(1);  // Terminates the program.
    }

        int totalIceCreamSales = 0;
        int strawberryIceCreamSales = 0;

        while (!TextIO.eof()) {
            String readLines = TextIO.getln();
            totalIceCreamSales++;

            if (readLines.equals("Strawberry")) {
                 strawberryIceCreamSales++;
            }
        }
        System.out.println("Icecream cone sales totalled " + totalIceCreamSales);
        System.out.println("Strawberry icecream sales totalled " + strawberryIceCreamSales);
        System.out.println("Strawberry icecream is " + ((double) strawberryIceCreamSales/totalIceCreamSales*100) + "%%" + " of total sales");
   }
}
</code></pre>