chooser.addChoosableFileFilter(new SoundFileFilter());
returnVal = chooser.showSaveDialog(null);
}
else if (mode == OPENFEAT)
{
chooser.addChoosableFileFilter(new FeatFileFilter());
returnVal = chooser.showOpenDialog(null);
}
else if (mode == OPENSEG)
{
chooser.addChoosableFileFilter(new SegFileFilter());