View Single Post
  #1 (permalink)  
Old 03-05-2008, 08:48 AM
Kabiraa Kabiraa is offline
Member
 
Join Date: Jan 2008
Posts: 5
Kabiraa is an unknown quantity at this point
how to create Popup Menu with Sub Menu while right-clicking the JTree Node??
Hello frnz...

I wanted to know how to create a Popup Menu along with Sub Menu when i right-click the perticular Node of JTree...

I m using NetBeans 6.0 with jre 6..

I want a simple application in which there is a tree with the root "Family". I want to create child nodes using popup menu. so i need that when i right-click the "Family" node, a popup menu appears with item "Add". This item shud have sub menus-"Add Child", "Add Sublings".

I m new to Java, so pls help me..


thnx in advance..
Reply With Quote
Sponsored Links