Thread: Time method
View Single Post
  #5 (permalink)  
Old 11-05-2007, 10:19 AM
carderne carderne is offline
Member
 
Join Date: Nov 2007
Posts: 28
carderne is on a distinguished road
Ok, thanks. But then I still have to specify how long I want the spaces to be. Here's my code for the output part:

Code:
System.out.println("\n\n\n#\tTrack\t\t\tArtist\t\t\tAlbum\t\t\tDate Added\n------------------------------------------------------------------------------------------"); for (int i = 0; i <= songNum; i++) System.out.println(i + "\t" + song[i][0] + "\t\t\t" + song[i][1] + "\t\t\t" + song[i][2] + "\t\t\t" + song[i][3]);
I had to add checks earlier in the program to add/remove extra tabs depending on the length of the word...

Thanks for your help
Reply With Quote