Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tree refresh problem in TreeTable  RSS feed

Rachel Mood
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a TreeTable struture with Tree in the first column. Tree is contructed dynamically by reading data from the GPS device. Each node(row) in the Tree represents GPS message.
If i expand tree root node when the tree contruction process is going on, then there is a problem. Tree doesn't display nodes(GPS DATA) constructed/read after this point. It displays only those noded that were constructed before tree expansion.
I think there is some problem with Tree refresh. Ideally it should display all the nodes that are added to the root node.
I am not able to make out whether it is the problem with TreeExpansionlistener or Tree Refresh. I tried using repaint(), but it doesn't work.
Please suggest me something.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!