wj. wj. - 1 year ago 123
Java Question

Good way to have a Collection Listener?

Is there a better way to have a listener on a java collection than wrap it in a class implementing the observer pattern ?

Chi Chi
Answer Source

You should check out Glazed Lists

It contains observable List classes, which fire events whenever elements are added, removed, replaced, etc

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download