JDBC and JTable

Hi i want the JTable to reflect My database (MS access).Does any know of any sample code?The JTable should display all the data in the MS access and also update changes.
[211 byte] By [sganapat_us] at [2007-9-26 3:36:48]
# 1

Check out

http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

That shows how to use JTable. You can have a method that uses JDBC, gets the data and builds the Table Model. Then use this model for the JTable.

You can find a JDBC tutorial also at the same location.

dewangs at 2007-6-29 12:08:40 > top of Java-index,Archived Forums,Swing...