Columnar output is hard to do with simple calls to println and printf, but you can have some limited success with tabs. This code:
produces this output:
on my console. Yours may differ.
Another approach is to format your data for a
word processor where the tabs are set in the document, but you either need some detailed specs on how to create a document your word processor can handle, or an API that can help you. If you want to explore that route, consider Rich Text Format. (Some people would say you ought to look at PostScript, but they use emacs, so we do not care what they think.
)
If/when you are ready to try Swing or another GUI library, there are some options there that will help you.
For the most part, Les is right: it's very hard to achieve tabular output to a console unless you used a fixed-width font.