View Single Post
  #6 (permalink)  
Old 05-07-2008, 10:42 AM
Kabiraa Kabiraa is offline
Member
 
Join Date: Jan 2008
Posts: 5
Kabiraa is an unknown quantity at this point
At this time I am able to open the popup menu by right clicking on the JTree..

Now, I have one more problem..
--> I want that when I right click any of the node of JTree (except root node), it should display the popup menu as it is.
--> But when I right click on the root node, then it should not display the "Add Sibling" submenu or make it disable.
--> When I right click on the blank area of JTree (not on any of the nodes) then it should not display the popup menu at all..

so, is it possible to do it in this manner.??

pls help me out..
Reply With Quote