status = ERRORED | COMPLETE;
status = ERRORED;
    public boolean imageUpdate(Image img, int flags, int x, int y, 			       int width, int height)    {      if ((flags & ABORT) != 0)        status = ABORTED | COMPLETE;      else if ((flags & ERROR) != 0)        status = ERRORED | COMPLETE;      else if ((flags & ALLBITS) != 0)        status = COMPLETE;      else if ((flags & SOMEBITS) != 0)        status = LOADING;      else        status = 0;            if ((status & COMPLETE) == COMPLETE)      {      synchronized (MediaTracker.this)      {	MediaTracker.this.notifyAll();      }      }      // If status is not COMPLETE then we need more updates.      return (status & COMPLETE) == 0;    }