hello, i'm using visual j++ (unfortunately). i am simply looking to write some data collected in the program i have written to a .txt file. i have never encountered problems with this usually simple task, however, i have also never encountered visual j++ in all its ignominy. anyway, the following code is placed in a class that extends JPanel.
PrintWriter out;
...some lines later:
try{
out = new PrintWriter(new FileWriter("output.txt"));
}
catch (Exception IOException){
System.out.println("exception");
}
and later...
out.println("test.");
simple enough...it would seem. anyone know of any reasons why output.txt wouldn't show "test." when i open it after closing out the program? it is console based, but driven within classes inheriting JFrame/JPanel. thanks in advance.

n
