source.removeConsumer (this);
if (observer != null) { if (status == ImageConsumer.IMAGEERROR) observer.imageUpdate (null, ImageObserver.ERROR, -1, -1, -1, -1); else observer.imageUpdate (null, ImageObserver.ALLBITS, -1, -1, -1, -1); }  if (source != null) source.removeConsumer (this);
  imageComplete (int status)  {    if (status == ImageConsumer.STATICIMAGEDONE && isCacheable)      isLoaded = true;    if (status == ImageConsumer.SINGLEFRAMEDONE)      isCacheable = false;    source.removeConsumer (this);  }