If I were you (Dark Rain), I would combine the doStats method and the readFile method into one. Here's an application (not applet) that does what you want (I think..).

Code:
import java.io.*;
import java.util.*;
    
public class HelpFile {	  
    static public void doStats() {
        try {
            PrintWriter pw = new PrintWriter(new FileWriter("outFile.txt"));
            Scanner scanner = new Scanner(new File("test.txt"));
	    
            pw.println("Results " + scanner.next());
            pw.println();
	    
            ArrayList<Integer> numsInFile = new ArrayList<Integer>();
            while (scanner.hasNextInt()) {
                numsInFile.add(scanner.nextInt());
            }
	    
            int sum = 0;
            int max = numsInFile.get(0).intValue();
            int min = max;
	    
            for (Integer i : numsInFile) {
                max = Math.max(max, i.intValue());
                min = Math.min(min, i.intValue());
                sum += i.intValue();
            }
	    
            pw.println("sum " + sum);
            pw.println("count " + numsInFile.size());
            pw.println("max " + max);
            pw.println("min " + min);
	    
            pw.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
        System.out.println("Program completed.  Close window to exit program.");
    }
    
    static public void main(String[] args) {
        doStats();
    }
}