wj. wj. - 5 months ago 53
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

You should check out Glazed Lists

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