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 lazy computations on tree selection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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