}
}
}
fileChooser.setAcceptAllFileFilterUsed(false); // don't want all file
// filters in aggregate
AggregateFileFilter agf = null;
if (action == Plugin.OPEN) {
agf = new AggregateFileFilter(fileChooser.getChoosableFileFilters());
fileChooser.addChoosableFileFilter(agf);
}
// Add an accessory panel
fileChooser.setAccessory(new FileChooserAccessory(action));