Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

formatting output columns  RSS feed

 
Craig Parsons
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to retrieving data from an Access database using JAVA code with enbedded SQL. I am just doing a basic SELECT * FROM database. So all the records show up, but my columns are all uneven.
What can I use to get my columns lined up under the column headers? I would like to have the 1st position of the column to be lined up with the headers and all the data below it.
Thanks,
Craig
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!