File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Cattle Drive and the fly likes where to place line break??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "where to place line break???" Watch "where to place line break???" New topic

where to place line break???

Nath Maniedeo

Joined: Feb 15, 2008
Posts: 29
Hi, I'm trying to do what the teacher said and only use one 'for loop' and then place a line break after I print namesPerLine, but it only comes out with a straight line, and not formated like the picture...I don't think this is what's wanted...any advice??
Here is my code for assignment 1b:

Sorry, no code allowed in this forum..
[ March 17, 2008: Message edited by: Marilyn de Queiroz ]
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9056
I put my advice in
your other thread.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: where to place line break???