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

addTreeSelectionListener not working

Alejandro Barrero
Ranch Hand

Joined: Aug 01, 2005
Posts: 302
In my code I have

The event is not being triggered. Is there anything I have to set on the tree?


Your help will be greatly appreciated,
Alejandro Barrero
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
works OK for me.

where do you call init(), so the listener is added?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: addTreeSelectionListener not working
 
Similar Threads
Same JTree instance across 2 tabs
Jtree - message becomes blurry when scrolls
dynamically removing leaf from Jtree
How to get the TreePath of a newly inserted TreeNode
how do I get the current node selection in a Jtree?