我是新wing,我面临第一个严重问题:
我有一个JPanel,有线可及的检查箱,详见下表。 页: 1 问题在于——在模型数据变化时必须这样做。
Immediatly after the fireTableDataChanged() gets triggered in JTable there is no way to get the screen location of its custom cell renderer component (which in my case is JCheckBox). As far as I understand this happens because JTable gets redrawn asynchronously. Whenever I try to get the location the IllegalComponentStateException gets thrown.
在这方面的任何想法都受到高度赞赏。