如何在拖动标题列

时间:2016-01-11 15:44:23

标签: java swing jtable

我目前正在使用JTable来显示信息并修改它们,但是当我拖动标题后我从JTable尝试getValue()时,我从之前的更改中获得了值(在我拖动它之前)。如何使我的JTable刷新/保存任何拖动移动?所以我可以在事件中实现代码,例如JTable上的mouseRelease()as you can see in the picture (already switch the header) that the value is '3', (it's suppose to be 'c' )

0 个答案:

没有答案
相关问题