Meaningless Drivel is fun!*
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
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: 19760
    
  20

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