开发者

Empty model, empty table

开发者 https://www.devze.com 2022-12-09 20:04 出处:网络
I have a JTable as a viewer of a m开发者_开发问答odel that I have created. I can insert and remove columns and rows from this model. The problem is that when my model reaches size 0, i.e., no data in

I have a JTable as a viewer of a m开发者_开发问答odel that I have created. I can insert and remove columns and rows from this model. The problem is that when my model reaches size 0, i.e., no data in the model, the table continuouing showing the header for the last two columns.

All the best, Leandro Lima


The problem was resolved. I wasn't firing data struct changed at the last remove action.

0

精彩评论

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