File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Queries about Multiple Tree Selections; maybe design issue
Joined: Feb 26, 2002
Feb 14, 2005 12:08:00
I have Tree with TreeModel which notfiy TreeModelListener which inturn notifies TreeSelectionListener with valueChanged() method handling what I need to do for a selection.
I have the following queries about Tree Multiple Selections:
1> Currently for multiple selections I take one node at a time and do my operations.... There's some mismatch; i need to do more reserach into my problems...
a) Whats the preferred practice for handling multiple selections?
b) Do you guys handle the selections one at a time..
c) Is there better practice ot handle multiple selections,...
d) Is there need for special precautions to avoid race conditions
2> Do you guys know of any particular sample code which deals with multiple tree selections?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Queries about Multiple Tree Selections; maybe design issue
handling quotes in sql queries
First struts app help! Drop-down lists
Best Practices - Exception Handling Mechanism
Ejb cache with singelton implementation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015