如何创建一个带有从XML文件中提取的下拉列表的Java applet。比方说,例如: 创建此XML文件的下拉列表:?
<?xml version="1.0" encoding="UTF-8" ?>
- <Countries>
- <Country>
<Name>India</Name>
<City>Noida</City>
<City>Bangalore</City>
<City>New Delhi</City>
<City>Mumbai</City>
</Country>
- <Country>
<Name>US</Name>
<City>San Francisco</City>
<City>New York</City>
<City>Mountain View</City>
</Country>
- <Country>
<Name>United Kingdom</Name>
<City>Birmingham</City>
<City>London</City>
<City>Manchester</City>
</Country>
</Countries>