}
  makeDiagonalHatch(int fgColor, int bgColor, int spacing) {    int w = imageWidth_;    int h = imageHeight_;    int pix[] = new int[w*h];    int index, y,x;    index = 0;    for (y=0; y<h; y++) {      for (x=0; x<w; x++) {	if ((x-y) % spacing == 0 || (x+y) % spacing == 0) 	  pix[index++] = fgColor;	else 	  pix[index++] = bgColor;      }    }    MemoryImageSource mi = new MemoryImageSource(w, h, pix, 0, w);    Image image = tk_.createImage(mi);    return image;  }