开发者

JTable data not stable when vertically scrolled

I have developed a Java Swing application wh开发者_如何学Goich consists of JTable. The JTable displays data of text file. The textfile is comma separated. After displaying i am summing up the totals and displaying them in another JTable which can be vertically scrolled. But when the rows in the table are more, then the JTable is not stable when vertically scrolled. The data gets repeated or the file gets corrupted.

JTable data not stable when vertically scrolled

JTable data not stable when vertically scrolled


there is maybe (no code, no hash) some issues with

1) Concurency in Swing,

2) why JTable loads data on Runtime or there un-know concurency between JTables and one TableModel

3) add your data to the DefaultTableModel

4) better would be implements DefaultTableModel for each of JTable separately

more tutorial and examples

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜