• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Queries about Multiple Tree Selections; maybe design issue

 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers,

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?

Please advice,
Ravi
 
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic