Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable and ResultSet

 
Bryan Lee
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the best way to put the resultsets into JTable?
Lee
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, you could convert your ResultSet into a RowSet, and create a TableModel around it to wrap it all up. Sounds pretty easy to me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic