H
henderjm
Does anyone know how to create a bunch of jCheckboxes based off of some
XML file? I'm trying to add some checkboxes in a jPanel, but can't
figure out how.
The XML file would probably look similar to:
<?xml version="1.0"?>
<SAMPLES>
<SAMPLE ID="1">
<Name>Some Name</Name>
<Description>Some Descr</Description>
<Additional_Info>Some info</Additional_Info>
<Warning_Level>0 through 5</Warning_Level>
<Warning_Description>Some Warning description</Warning_Description>
</SAMPLE>
<SAMPLE ID="2">
<Name>Some Other Name</Name>
<Description>Some Other Descr</Description>
<Additional_Info>Some Other info</Additional_Info>
<Warning_Level>0 through 5</Warning_Level>
<Warning_Description>Some Other Warning
description</Warning_Description>
</SAMPLE>
</SAMPLES>
XML file? I'm trying to add some checkboxes in a jPanel, but can't
figure out how.
The XML file would probably look similar to:
<?xml version="1.0"?>
<SAMPLES>
<SAMPLE ID="1">
<Name>Some Name</Name>
<Description>Some Descr</Description>
<Additional_Info>Some info</Additional_Info>
<Warning_Level>0 through 5</Warning_Level>
<Warning_Description>Some Warning description</Warning_Description>
</SAMPLE>
<SAMPLE ID="2">
<Name>Some Other Name</Name>
<Description>Some Other Descr</Description>
<Additional_Info>Some Other info</Additional_Info>
<Warning_Level>0 through 5</Warning_Level>
<Warning_Description>Some Other Warning
description</Warning_Description>
</SAMPLE>
</SAMPLES>