Log4j result in JTextPane
I recently wanted to redirect the output of Log4j to a JTextPane, so as to output messages to the JTextPane using a different color depending on the severity.
I spent some time searching for information and I quickly put together a small example. The following screenshot shows the output.

Bookmark this post
These icons link to social bookmarking sites where readers can share and discover new web pages.
Tags: java, JTextPane, log4j
This entry was posted
on Monday, December 31st, 2007 at 19:50 and is filed under Development.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
This is being very useful…
Thanks a lot….