How can I refresh the contents in the JTable?

Jesper Berglund

If you have added or removed something from the table, from the DefaultTableModel or your own TableModel, the easiest whay to tell that the data in the model has changed is to call JTable.tableChanged(TableModelEvent e). In the TableModelEvent you specify which rows and/or columns that has been updated.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact