• Post Reply Bookmark Topic Watch Topic
  • New Topic

help me regarding Jtree selection Event

 
Murali Jaya Rao
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am creating a Jtree from xml,after then i am trying to add the child elements in to the jTree which then updated in to xml and creating a new JTree from the xml with updated child elements.

Here My requirement is if i select one of the nodes from the JTree and attempting to add a new child node,i want to highlight the same node which i selected before after loading new xml in to Jtree.

Please help,

Thanks,
Murali
 
Murali Jaya Rao
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

could anybody solve my problem?
Regards
Murali
 
Brian Cole
Author
Ranch Hand
Posts: 920
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Murali Jaya Rao:


could anybody solve my problem?


You haven't explained what your problem is.

You have written one "I am doing/trying..." sentence and one "My requirement is..." sentence, but nothing on the order of "How do I...?" or "Why doesn't it work when I...?".

It's sort of like if you posted on a cooking forum: "I just bought some frozen peas. Please help." Help with what? Thawing them? Storing them? Cooking them on a stove? (Or in a microwave? On a campfire?) How much salt to add? Finding pea soup recipes? How to eat them with a knife? What?

I would recommend you take a look at How To Ask Questions On Java Ranch, in particular Tell The Details and Actually Ask Something. (Ok, that last link was a joke, but I sometimes wonder if perhaps such a page should be added to the list.)
[ April 14, 2008: Message edited by: Brian Cole ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!