Hi
I am creating a file with the contents of a table. I have no problem writing the data to the file but is there any good way to format the data? I would like the file to contain columns. The length of the data in the table varies and I didn't have much luck playing around with inserting tabs. I would like it to be something like this:
column 1 column2 column3
some information 12 more info
info 1323 other info
stuff 1 info
I am not sure if there is any easy way to do this. I am using PrintWriter to write to the file
Thanks
I am creating a file with the contents of a table. I have no problem writing the data to the file but is there any good way to format the data? I would like the file to contain columns. The length of the data in the table varies and I didn't have much luck playing around with inserting tabs. I would like it to be something like this:
column 1 column2 column3
some information 12 more info
info 1323 other info
stuff 1 info
I am not sure if there is any easy way to do this. I am using PrintWriter to write to the file
Thanks