ConsoleFrame
Submitted by samreid on Sun, 06/05/2005 - 17:02.
I've added a ConsoleFrame test, a class that redirects System.out and System.err to a JTextArea. This can be started by pressing ConsoleTest in the application manager.
However, a word of caution: if there is any output to System.out or System.err (for example, debugging output) in the code that handles the JTextArea (or repainting or anything in that stack frame), then I expect this to die of a recursive loop. Not sure how to cope with this (other than using loggers?)
- Login to post comments