public void setSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) {
public void setSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) { int size = w*h;
	public void setSamples(int x, int y, int w, int h, int b, int[] iArray, DataBuffer data) {		//int size = w * h;		int inOffset = 0;		for (int yy = y; yy < (y + h); yy++)			for (int xx = x; xx < (x + w); xx++)				setSample(xx, yy, b, iArray[inOffset++], data);	}