protected void fireCollectionChange(Collection<GraphNode> oldNodes, Collection<GraphNode> newNodes) { List<GraphNodeCollectionListener> nsls = new ArrayList<GraphNodeCollectionListener>(listeners); GraphNodeCollectionEvent evt = new GraphNodeCollectionEvent(this, oldNodes, newNodes); for (GraphNodeCollectionListener nsl : nsls) { nsl.collectionChanged(evt); } }