| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Dec 2006
Location: Coimbatore
Age: 24
Posts: 356
Thanks: 41 Thanked 22 Times in 20 Posts Thanks: 41
Thanked 22 Times in 20 Posts
Rep Power: 8
|
get a treepath for leaf node..
Hi friends,
I need to get a treepath for a leaf node, but the treepath coming is only till the parent node of the leaf, it is not going till the leaf, Im getting treepath from treeExpansionEvent, I retrieve the leaf in some other place in program, how can i connect the leaf or how can i retrieve path for a leaf node through treeexpansionevent? Help me please, its urgent. Thanx in advance.
__________________
Keep Smiling Kousy
|
|
|
|
|
|
#2 (permalink) |
|
Member
Join Date: Jan 2007
Posts: 32
Thanks: 3 Thanked 3 Times in 3 Posts Thanks: 3
Thanked 3 Times in 3 Posts
Rep Power: 2
|
Re: get a treepath for leaf node..
Hi ,
Please give us the scope that what tree you were using I think the following will help you if you were using swings JTree You can get the selected leaf path by using the method getSelectionPath() of the JTree class if you were using the JTree for the tree list. If you are not using JTree for the tree please post the information which tree you are using so that i can help you better.
__________________
Cheers, Laxmi |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MICROSOFT placement paper 6 | sridhar | MICROSOFT Placement Papers | 1 | 05-08-08 11:36 PM |
| C language - Write a code for implementation of doubly linked list with use of single pointer in each node | GEEK | ds. c , c++ Interview / Technical Questions | 0 | 23-01-07 01:27 PM |
| C language - c program for delete a node from linked list | GEEK | ds. c , c++ Interview / Technical Questions | 0 | 23-01-07 01:27 PM |
| Network Node Manager | sangeethadutta | NETWORK ADMINISTRATION , HARDWARE & TROUBLESHOOTING | 3 | 12-09-06 12:46 PM |
| Network node management using HP Open view requirement with TESCO. | sridhar | EXPERIENCED JOBS | 0 | 14-08-06 08:03 PM |