jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes how to check parent availability in Jtree structure in swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to check parent availability in Jtree structure in swing" Watch "how to check parent availability in Jtree structure in swing" New topic
Author

how to check parent availability in Jtree structure in swing

suganya vijaykumar
Greenhorn

Joined: Jun 22, 2008
Posts: 12
i have created the tree structure using Jtree in swing.. i can add child leaf to root. but how to add the leaf to a particular parent..


[ September 03, 2008: Message edited by: Rob Prime ]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

Please UseCodeTags in the future. I've added them for you this time.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> but how to add the leaf to a particular parent..

define "particular parent"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to check parent availability in Jtree structure in swing
 
Similar Threads
JTree
JCheckBox in Jtree Problem
How to disable a certain treenode in a jtree
I am lost , Help Me Please ...JTree
need help with jTree isNodeAncestor()