wj. wj. - 24 days ago 7
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

You should check out Glazed Lists

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