This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes tree refresh problem in TreeTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "tree refresh problem in TreeTable" Watch "tree refresh problem in TreeTable" New topic
Author

tree refresh problem in TreeTable

Rachel Mood
Greenhorn

Joined: Aug 16, 2006
Posts: 3
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tree refresh problem in TreeTable