This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes formatting output columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "formatting output columns" Watch "formatting output columns" New topic
Author

formatting output columns

Craig Parsons
Ranch Hand

Joined: Jan 28, 2004
Posts: 40
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
 
wood burning stoves
 
subject: formatting output columns
 
Similar Threads
Screen resolution
Seperating data
Do we have to hardcode the fields (order, index values) in the client
Dynamic dataTables within datatables
Hiding / showing / resizing columns dynamically in a table