aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes DefaultTreeSelectionModel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "DefaultTreeSelectionModel" Watch "DefaultTreeSelectionModel" New topic
Author

DefaultTreeSelectionModel

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
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

Joined: May 11, 2001
Posts: 152
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

Joined: Mar 12, 2001
Posts: 329
No control A is a key stroke.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DefaultTreeSelectionModel