Hi Pals,

I have to click on a particular node of the jtree and i should delete that node using the available delete button.

things i have tried.


none of these things have worked.

i have tried using Java_activate_method also.

Java_activate_method("jtree","setSelectedName",ret Value,"string");
is selecting the node but it is not activating that node(if i click the delete button now, it is deleting the entire tree).so again i have to click on that node using Obj_mouse_click().

if i can get the name of the node one by one, i can easily click on the particular node ,using obj_mouse_click();

can anyone help me with the java method to get the name of a node in Jtree. I have tried with Method_wizard also.

thanks in advance.