Need some help in trying to align text using System.out.prin tln().
An example of the problem is shown here:
The code:
As you can see I have attempted to use tabs.
An example of the problem is shown here:
Code:
table_loc lab addr 142 GB 19 143 LH 25 632 RRUYLLLL 1AA
Code:
System.out.println("\ttable_location\t\tlabel\t\taddr");
for(int i = 0; i < hSize; i++)
{
if(!(Array[i].getLab().equals(empty)))
System.out.println("\t"+i+"\t\t\t"+Array[i].getLab()+"\t\t"+Array[i].getNum());
}
Comment