ZZ *_*Z 5 4 java swing jtable
我想问一下JTable当点击按钮(actionPerformed)时如何制作新的?我想以JTable这种方式添加几个.
JTable
actionPerformed
mKo*_*bel 5
使用DefaultTableModel表示JTable
然后没有理由recreate或remove then add JComponents
recreate
remove then add
所有更新JTable及其Model必须在 事件调度线程上完成
Model
归档时间:
13 年,4 月 前
查看次数:
3980 次
最近记录:
11 年,12 月 前