I\'m getting results from a database and want to output the data as a table in Java\'s standard output
I\'ve tried using \\t but the first column I want is very vari
Using j-text-utils you may print to console a table like:
And it as simple as:
TextTable tt = new TextTable(columnNames, data); tt.printTable();
The API also allows sorting and row numbering ...