File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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: 319
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?
 
 
subject: addTreeSelectionListener not working