开发者

Java JTable function for loading an Object

开发者 https://www.devze.com 2023-04-11 04:46 出处:网络
I have a jtable in an java application and it reads an object[x][y]开发者_Go百科 when created (with the jtablejTable3.setModel() function).Is there any function when objects data be changed to load th

I have a jtable in an java application and it reads an object[x][y]开发者_Go百科 when created (with the jtablejTable3.setModel() function).Is there any function when objects data be changed to load them in my java table


Use an EventTableModel from the Glazed Lists library to back your JTable.


put your data in the tablemodel, and call

tableModel.fireTableDataChanged();
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号