On Fri, Oct 10, 2008 at 11:35 AM, Jonathan Locke
<[EMAIL PROTECTED]> wrote:
> i dislike swing's event listener style.  an interface per event is ugly and
> tedious to maintain.  a better system is to parameterize a single event
> listener interface on the event type.  i've done this before and it works
> out quite elegantly (you can even listen to classes of events using the
> event class hierarchy).  the only real downside is that you need to use
> anonymous classes to listen to more than one event, but i don't personally
> care about that at all as i think that is the preferred style anyway.  so i
> would prefer this style of listener and happy to discuss when we get to
> this.

Hmmm.  This sounds very interesting!

Reply via email to