aspose file tools*
The moose likes JDBC and the fly likes Dynamic JTable Headers? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

Dynamic JTable Headers?

Gary Frick
Greenhorn

Joined: Sep 13, 2002
Posts: 28
I'm trying to build a dynamic JTable to display the results of a SQL/JDBC Query. After I do the query I get the column names returned. But how do I create the table header dynamically using the resulting column names?
Thanks,
Gary
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Please do not cross post. Respond to this post in Swing.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
wood burning stoves
 
subject: Dynamic JTable Headers?
 
Similar Threads
Dynamic JTable Headers?
JTable
jtable
JTable
JTable