Get Attribute XML in JTree

蓝咒 提交于 2020-01-15 08:14:11

问题


In this tutorial, how I get attribute of xml when I right click delete menu, then show the dialog with the value of attribute?


回答1:


In deleteAction, you can reference clickedPath.getLastPathComponent() to access the selected node.



来源:https://stackoverflow.com/questions/11790390/get-attribute-xml-in-jtree

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!