1

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

Guillaume Polet
  • 47,259
  • 4
  • 83
  • 117
Nilamber
  • 87
  • 2
  • 10

1 Answers1

3

XMLTree, mentioned here, is an example that reads nodes from the file xml.xml.

Community
  • 1
  • 1
trashgod
  • 203,806
  • 29
  • 246
  • 1,045