imageState |= state;
if((imageState & (ImageObserver.ALLBITS)) != 0 ) {
done = true;
}
}
ImageObserver observer = null;
for (Iterator<ImageObserver> i = observers.iterator(); i.hasNext();) {
try {
observer = i.next();
} catch (ConcurrentModificationException e) {
i = observers.iterator();
continue;
}
observer.imageUpdate(this, imageState, x, y, width, height);
}
}