public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { int rate = -1; if ((flags & (FRAMEBITS | ALLBITS)) != 0) { rate = 0; } else if ((flags & SOMEBITS) != 0) { rate = 10;
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { if ((flags & (FRAMEBITS | ALLBITS)) != 0) repaint (); else if ((flags & SOMEBITS) != 0) { if (incrementalDraw) { if (redrawRate != null) { long tm = redrawRate.longValue(); if (tm < 0) tm = 0; repaint (tm);
	public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) {		int rate = -1;		if ((flags & (FRAMEBITS | ALLBITS)) != 0) {			rate = 0;		} else if ((flags & SOMEBITS) != 0) {			rate = 10;		}		if (rate > 0) {			repaint(10, x, y, w, h);		}		return ((flags & (ABORT | ALLBITS)) == 0);	}