int row = 0; for (int x=0; x<10; ++x) g.drawString("Al Thompson", 25, row++);