Directing output to a file?
I was wondering how you can redirect your output to be viewed in something else, such as Notepad. When running the application, I cannot view all of the printed information in the program, and I need to recopy it and it would be too much of a hassle to just write them all down. Thanks for the help!
[306 byte] By [
Birdboy30a] at [2007-11-26 16:44:57]

Well, you could just write whatever you want to output to a file. Look at the BufferedWriter, FileOutputStream, and FileWriter classes.Actually, what was suggested above seems like a better idea.
The information are two repeating variables that are only being sent to the moniter (System.out.print). And as you know you can't view but so much through the program window, and I just want to redirect that output to a file. And if you were wondering, yes I am new to this.
hi,
if you can modify that program , you can use Logger class (java.util.logging.Logger), you can redirect output to
a. console
b. file (text user defined, xml format)
c. socket
you just change the properties or config file to which redirect output that you choose.
regards
p_epi