View Full Version : BaseTreeModel ChangeEvent not working

28 Jan 2010, 9:27 AM
I am using a BaseTreeModel. When the data in the model changes, I want to create a new ChangeEvent and notify listeners.

I am creating an event by ChangeEvent newEvent= new ChangeEvent(ChangeEventSource.Update,dataModel);

I then try to notify the listeners by using dataModel.notify(newEvent).

The event doesn't appear to ever fire although I can verify that data in the model has changed.

Anyone ever made this work?