log4j custom appender problem

D

Denis

Hi all.
I've a custom appender that contains a JTextArea and I want to write
the log messages on it.
I create a frame with a JTextArea, than I initialize the custom
appender with that area. I've debug it and the appender is
initializated, but when a logging event occurs when the method "append"
is invoked the text area is null (but the frame width the text area is
visible!).

Why?

Thanks all,
DM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top