How can I automatically update JTable data when updating the database?

How to update JTable data automatically when updating my database?

Thanks.

+3
source share
1 answer

Your JTable model must somehow determine if your database has changed.

There is no standard way to feed this information directly from an SQL database into a table model. Most likely, you will have to poll the database and open this information for yourself (in the poll stream?)

, , , , , , , , .

, SQL, .

+2

Source: https://habr.com/ru/post/1706298/


All Articles