for (int j = 0; j < xTags; j++) { System.out.printf("j = %d xTags = %d%n", j, xTags); curx = startx + jump;