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