Java looping (need help)

Printable View