Archived

This topic is now archived and is closed to further replies.

[java] Redirecting System.err to a JTextArea???

This topic is 5013 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hmm, quick idea would be to write your own class that extends PrintWriter and set it as the System.err output. Then have the new class pipe its output into a text field of your choice.

Share this post


Link to post
Share on other sites
Go right to the source.

http://java.sun.com/docs/books/tutorial/index.html



First make it work, then make it fast. --Brian Kernighan

The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities. We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)

Do not interrupt your enemy when he is making a mistake. - Napolean Bonaparte

Share this post


Link to post
Share on other sites