This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 311
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