switch (imageStatus) { default : case IMAGEERROR : status |= ImageObserver.ERROR | ImageObserver.ABORT; break; case IMAGEABORTED : status |= ImageObserver.ABORT; break; case STATICIMAGEDONE : status |= ImageObserver.ALLBITS; break; case SINGLEFRAMEDONE : status |= ImageObserver.FRAMEBITS; break; } ip.removeConsumer(this); notifyAll();
ip.removeConsumer (this);  notifyAll ();
	public synchronized void imageComplete(int imageStatus) {		grabbing = false;		switch (imageStatus) {			default :			case IMAGEERROR :				status |= ImageObserver.ERROR | ImageObserver.ABORT;				break;			case IMAGEABORTED :				status |= ImageObserver.ABORT;				break;			case STATICIMAGEDONE :				status |= ImageObserver.ALLBITS;				break;			case SINGLEFRAMEDONE :				status |= ImageObserver.FRAMEBITS;				break;		}		ip.removeConsumer(this);		notifyAll();	}