Trying to write a JPanel logging handler

Greetings,

With a strike on, I hope I am not being a scab by posting here? :(

I am trying to make a bean that is both a javax.swing.JPanel and a java.util.logging.Handler. (so that some logging messages can automatically be written to the gui) I want the bean to extend the JPanel, so that I can work with it graphically in design mode. But the logger needs access to the Handler implementation so that messages can be logged.

The only thing I've come up with is implementing the Handler as an interface and duplicate all of its methods.

Seems like there should be a better way?

Thanks,

--bill

[638 byte] By [12ozPa] at [2007-10-2 2:30:35]
# 1

Normally I would be happy to help you, but after several years of trying to help here, I've decided not to contribute anymore because of the piss-poor way in which this site is being administered.

Others are still helping, but more may leave if things don't improve. May I recommend devshed or javaranch?

http://www.devshed.com/

http://www.javaranch.com/

If you would like to complain to the admins of this forum, either click the "Report Abuse" link or the "Feedback" link.

-- foofoo (shamelessly stolen the text from jverd).

12ozPa at 2007-7-15 20:22:25 > top of Java-index,Java Essentials,Java Programming...