-
Dec 24th, 2008, 10:50 AM
#1
Anyway to use GuardedActionCommandExecutor on JTree?
Hi all,
I have seen examples with a context-sensitive popup menu on right for a component that extends AbstractObjectTable but what about a context-sensitive menu for a plane old JTree? I can get a popup menu by adding a PopupMenuMouseListener object to the JTree's addMouseListener but how do I create the ValueModel object on the JTree? The ListSelectionModelAdapter class doesn't seem to want to take a TreeSelectionModel object from JTree?
Do I need to extend a richclient specific class to do this? If so what is the class name for use with JTree?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules