{
//sniff out the feature extrators first
Vector featureExtractors = sniffForClasses("com.meapsoft.featextractors", "com.meapsoft.featextractors.FeatureExtractor");
//save a place for the default check here
FeatureExtractorCheckBox defaultChk = null;
//iterate and create our checkboxes
for(int i = 0; i < featureExtractors.size(); i++)
{
//get the name
String name = featureExtractors.get(i).toString();
//create the checkbox here
FeatureExtractorCheckBox chk = new FeatureExtractorCheckBox(name);
//make us an actionlistener for the checkbox
chk.addChangeListener(this);
//see if its a meta extractor
if(chk.getExtractor() instanceof MetaFeatureExtractor)
{
mMetaFeatureList.add(chk);
}
else
{
mFeatureList.add(chk);
//check this one by default
if(chk.getName().equals("AvgPitch"))
{
defaultChk = chk;
}
}
}