How do I define a listener to be used for a JavaBeans event?

John Zukowski

JavaBean listeners must extend the empty java.util.EventListener interface. If they do not, a development environment will not be able to find out the necessary information from the component needing to use the event the listener is associated with.

See How do I create my own events to pass between objects? for a complete example.