File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
JTree in Browser
Type of tree in DOM parser
Create and Graph an odd tree structure
control the visiblity of a tree table node
Traversing the right branch of a binary tree.