|
From: Bruce M. <ma...@xb...> - 2003-07-10 04:24:39
|
Shobha, Are you talking about the ViewerBean? It currently does not have the functionality of returning a selected node? You would need to add that. But it is not too difficult to do so. It's a bit of Swing programming using the JTree that is embedded in the ViewerBean. If you make this enhancement to the ViewerBean, we would appreciate it if you would send the changes so that we could include it in the next release of Xbeans. Bruce Shobha Rani Jagathpal wrote: > Hi, > I have used Xbeans to view the selected file in tree form. How do I get > the exact element or its value which is selected. If I getPath (), 2 or > more elements with same name and value cannot be distinguished. > > Thanks > Shobha > |