|
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..
|