• Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable and ResultSet  RSS feed

 
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
 
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.
 
no wonder he is so sad, he hasn't seen this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!