Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 23-05-07, 12:11 PM   #1 (permalink)
Senior Member
 
Kousalya's Avatar
 
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 Kousalya is on a distinguished road Kousalya is on a distinguished road Kousalya is on a distinguished road
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
Kousalya is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 28-05-07, 07:06 PM   #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 Laxminarayanak will become famous soon enough
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
Laxminarayanak is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT +6.5. The time now is 02:27 PM.





Search Engine Optimization by vBSEO 3.1.0