https://glazedlists.dev.java.net/issues/show_bug.cgi?id=470 Issue #|470
Summary|BasicEventList.addAll() is notify-efficient but BasicE
|ventList.clear() is not
Component|glazedlists
Version|current
Platform|PC
OS/Version|Windows XP
URL|
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P2
Subcomponent|core
Assigned to|jessewilson
Reported by|arghman
------- Additional comments from
arghman@... Fri Mar 20 20:56:32 +0000 2009 -------
Apologies if this is known, I wasn't sure what to search for.
It looks like BasicEventList is smart enough to fire a single TableModelEvent
when addAll() is called on a collection, but it fires one TableModelEvent per
row when clear() is called. I'm hesitant to call that a DEFECT, but if you have
a table with thousands of rows, and when you clear() it you get one event per
row, something seems wrong.
Test code to illustrate will follow...
---------------------------------------------------------------------
To unsubscribe, e-mail:
issues-unsubscribe@...
For additional commands, e-mail:
issues-help@...