Right Click Mouse problem in JTree
Hi' maybe this is simple problem, but i'm really stuck in here..can anyone help...
My problem is How to select node in JTree but using Right Click Mouse?
cos i want to display some JPopupMenu on the selected node so i can create action on it but i think i must to know first, which node is Selected...
If i'm using Left Click Mouse to select node, there is no problem, this can solve with getLastSelectedPathComponent()...but this is not i want..
i hope my question easy to understand..
thanks a lot...

