This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 19655
    
  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"
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to check parent availability in Jtree structure in swing
 
Similar Threads
JTree
How to disable a certain treenode in a jtree
JCheckBox in Jtree Problem
I am lost , Help Me Please ...JTree
need help with jTree isNodeAncestor()