This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "lazy computations on tree selection" Watch "lazy computations on tree selection" New topic

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.

Sun Certified Java Programmer
I agree. Here's the link:
subject: lazy computations on tree selection
It's not a secret anymore!