Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DefaultTreeSelectionModel

 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does the default tree selection model determine what to do when CTRL-A is selected in a tree and multiple selections are allowed?
 
Joe Gilvary
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is CTL-A one of the nodes in your tree?
If you want to execute certain code when the user types
CTL-A, I believe you need to code a listener for it.
HTH,
Joe
 
Ronnie Phelps
Ranch Hand
Posts: 329
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No control A is a key stroke.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic