lundi 10 mars 2014

propertyChange Support vs EventListenerList differences and when to prefer each ones?


Vote count:

0




I have read the docs for PropertyChange support and EventListenerList. From my understanding, both serve similar purposes in holding a list of listeners and notifying them when event/propertyChange occurs. Is it only in case of GUI applications, that EventListenerList becomes handy?. For a simple JavaBean application that does not use GUI components, is there an advantage of using one over the other.



asked 22 secs ago






Aucun commentaire:

Enregistrer un commentaire