• Post Reply Bookmark Topic Watch Topic
  • New Topic

how do i populate Jtable from my sql

 
Nikhilesh Gandhi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I need to populate my JTable from mySql.Is it possible to see the differt values in boxes of the table.
I am using a simle Jtable not the demo.
One more thing i cannot make the column heads visible.
 
Jose Botella
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Nikhilesh,
Look at the JDBC example in the magnificient book "Swing" by Robinson and Vorobiev.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!