简体   繁体   中英

How we implement .xml file using java in swing application?

I am working in a swing application.There is a Expandable tree view in which when we right click on it we get options to select. If i choose action from it, i get a pop-up and can select the appropriate action from the drop down options.

Now i tried to search in my whole projcect where the drop-down options are written in source code and i found it only in .html and .xml file. In .xml file it was like this..

In another .xml file it expandale tree view was written like this.

<indexitem text="expandable tree view, about" target="d0e60"/>
<indexitem text="expandable tree view, actions" target="d0e91"/>

How these are implemented? Actually i am clueless about how these .java,.html,.xml files interact to produce such kind of swing application? Thanks in Advance

这里提到的XMLTree是一个从文件xml.xml中读取节点的xml.xml

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM