Refreshing JTable (JDBC)

Hi there!

I would like to ask your help regarding JTable.

I am just new in Java comming from VB. I really cannot understand how JTable works.. since in VB it is very easy to refresh the table/grid.

Any one who got a simple program (Even using MS Access) that will display DB Table's content to a JTable object and will be able to refresh JTable's content everytime a record is updated? (Even the refreshing of table side only).

Hope you guys can help me with this since its been weeks already looking for a sample and explanation which is easy to understand.

Thanks!

[605 byte] By [khickyphutza] at [2007-11-27 5:20:21]
# 1
have you tried sun's tutorial: http://java.sun.com/docs/books/tutorial/uiswing/components/table.html ?JTable is implemented with a data model (table model) as its data container. So you need to update the table model first before re-displaying your table. :)
lem@phila at 2007-7-12 11:44:27 > top of Java-index,Desktop,Core GUI APIs...