I'm new at java and I'm developing an application that uses JTree. I
would like to have a different action take place when I right click a
selection. Can this be done? If so please let me know how or post a
link to an example.
Thanks
Vova Reznik - 04 May 2006 19:21 GMT
> I'm new at java and I'm developing an application that uses JTree. I
> would like to have a different action take place when I right click a
> selection. Can this be done? If so please let me know how or post a
> link to an example.
>
> Thanks
java right click -script
and as result of:
http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html#popup
(check isPopupTrigger)