File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
JTable and ResultSet
Joined: Feb 13, 2004
Mar 17, 2004 15:50:00
What is the best way to put the resultsets into JTable?
Joined: May 29, 2003
Mar 17, 2004 15:59:00
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.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
subject: JTable and ResultSet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014