The moose likes Swing / AWT / SWT / JFace and the fly likes Expanding a JTree from another window Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "Expanding a JTree from another window" Watch "Expanding a JTree from another window" New topic
Author

Expanding a JTree from another window

Sonny Pondrom
Ranch Hand

Joined: Jun 05, 2001
Posts: 128
I have a window that holds my JTree. I have another window that holds a button that adds a branch to the tree. The problem is that the tree is not expanded until the user selects to parent node. Can you think of a way to show the new node in the first window immediately?
 
 
subject: Expanding a JTree from another window
 
Threads others viewed
JTree not updating
JTree
JTree
restoring and recalling a JTree
JTree --HELP!!!!!!!!
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com