}
public void generate(ViewDelegate view, Model model) {
RecordScan scan = null;
// ZAP: Allow scan report file name to be specified
try{
JFileChooser chooser = new JFileChooser(Model.getSingleton().getOptionsParam().getUserDirectory());
chooser.setFileFilter(new FileFilter() {
public boolean accept(File file) {