System.setOut(
new PrintStream(
new BufferedOutputStream(
new FileOutputStream("OUTPUT.DAT"))));
You may want to look at this How-to to redirect exception output to a Frame.
Written and compiled by Réal Gagnon ©1998-2012
[ home ]