[Logo]
Forums Register Login
JTable values automatically update
Hi all,

how to make jtable values automatically change if there is change in the table?
u have to extend the AbstractTableModel or DefaultTableModel ..u got the

solution ??
 
Originally posted by Reza Mochamad Diannagara:
how to make jtable values automatically change if there is change in the table?


You don't give many details, but perhaps this similar thread will be useful.
hi,

sorry to takes long time to reply.

heres the detail:
- first i make a jtable that show some data from database.
- it's extends AbstractTableModel

it's only update data on database if there is any changes on the jtable.
all i want is the jtable will always update it's data, if there's any changes in the database. how to do that???

regards...
Call on of the fire* methods. If only one cell changes the fireTableCellUpdated method would be the one to use.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 23, 2017 06:18:11.