File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Cattle Drive and the fly likes Code Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Code Question" Watch "Code Question" New topic
Author

Code Question

Nath Maniedeo
Greenhorn

Joined: Feb 15, 2008
Posts: 29
Hi, as recommeded by teachers...I can't get his code to work:

for loop starting at zero
{
if the current number of names is the same as namesPerLine
create a new line
print name
}
in playing with the code, it either prints only one line of names that will fit on a line OR prints it straight downwards...
Nath Maniedeo
Greenhorn

Joined: Feb 15, 2008
Posts: 29
wait, I think I almost have it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Code Question
 
Similar Threads
Default values
Creating Objects
using Maha's trick for the hairy ++ ?
XML Parsing problem
Cannot find NullPointerException