I've got a question about loops. I'm kind of confused on how to print things out on a different line. I want to display my objects one on top of the other but they print out horizontally. What is recommended to do this
public void draw(Graphics page)
for (int f = 1; f <= numrows; f++)
for (int r = 1; r <= numsquares; r++)
setX(getX() + getLength());
P.S. I dearly hope I understood the question...