This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Print Out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Print Out" Watch "Print Out" New topic
Author

Print Out

mike statham
Greenhorn

Joined: Feb 24, 2012
Posts: 16
Here is my code below

My problem is that the current print out to my file is:
*
**
***
****
*****
******
*******
********
*********
**********
*********
********
*******
******
*****
****
***
**
*
*

***

*****

*******

*********

***********

@

@@@

@@@@@

@@@@@@@

@@@@@@@@@

@@@@@@@

@@@@@

@@@

@

My quest is there a way to display it so that they are side by side with space between them?

fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11150
    
  16

Yes there is a way to do it. However, you have to first know what you want. WHAT exactly needs to be printed next to what? Vague requirements like "I need to print things next to each other" don't tell anyone what you need. And further, indicate you don't know what exactly you need.

So, figure out what exactly you want done, and explain it to us. Often, that will be enough to get you to know what you need to do.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Print Out
 
Similar Threads
Write to File
populating read values
read .xlsx file and generate csv file
Help with writing to a file!
populate the query values from reading .xlsx file