This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes lazy computations on tree selection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "lazy computations on tree selection" Watch "lazy computations on tree selection" New topic
Author

lazy computations on tree selection

Bhagya Tangutur
Ranch Hand

Joined: Oct 21, 2002
Posts: 88
i am showing properties of node in the right hand side on tree selection.
what i did is i implemented tree selection listener and updating the properties.It works very well.
performance improvements:
what happened in previous case is: if user selects different nodes in tree rapidly.It just tries to fetch information for each node.I want to show properties of last node in this process.I want to do it just like windows explorer.
Thanks


Sun Certified Java Programmer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: lazy computations on tree selection
 
Similar Threads
Cancelling selection in JTree
Cancelling events
TreeSelectionListener interface valueChanged()
tree display
How to hide Tree node according to some Criterions