This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
But everything I try, it displays only one space between each variable. Even if I use the "\t" it doesnt make a difference. Its just that I want to align them to column headings, so its quite frustrating!
Is there an option I need to change in Netbeans, or am I being dumb!?
The fact that you're using NetBeans shouldn't matter. What matters more is where the output is going. If this is in a JSP or servlet, then no matter how much space you use, the browser is going to squash it down to one. If it's going to the command line, whether or not \t characters are meaningful depends on the terminal program that you're running in. So tell us about the environment this code is running in, and we may be able to tell you what to do.
This problem is not related to Java, but to HTML. Moving to our HTML forum.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com