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.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact