I am trying to select the nodes that are present in the Java Tree. The Jtree is present under Applet window.
JavaTree object which contains a parent node, assume the name of the node is "Test Category", and this contains child nodes.Each of these nodes can again contain more child nodes. The issue here is that all the nodes are being recorded as indexes, instead of recording using the node name as "Test Category", I get #0. The child node under it shows as #0;#1 and so on.
The index value keeps changing, which means that in this case, the operations I perform for the original index value will no longer be valid..
When i use the getItem(i) method i get the index. what i would need is the value of the node
1.) Select the Tools->Options... menu item to invoke the Options dialog.
2.) Select the Java tab in the options dialog.
3.) Select the "By name" radio button for Tree view controls in the record items mode section.