Netbeans can easily bind jtable with relational database tables(mysql,deby,etc).. How can i easily bind "Views" table to a jtable... If that is not possible, is there any easy way to join tables and display the result in JTable... Thank you so much.
+1
A:
It is quite easy to display an arbitrary ResultSet in a JTable. You first need to work out what columns there are by using the metadata within the ResultSet and then add rows by looping over the ResultSet. http://fahdshariff.blogspot.com/2010/02/display-any-resultset-in-jtable.html
dogbane
2010-02-23 14:37:36