customers=custManagement.getDatasets(this.getFilter(), "a.name1, a.name2, a.name3", ClientGlobals.getUser(), ClientGlobals.getCompany(), 0, 0);
MassLetterWizard massLetterWizard = new MassLetterWizard();
massLetterWizard.setContacts(customers);
FmWizard fmWizard = new FmWizard(massLetterWizard, JbsL10N.getString("MassLetterWizard.title"));
fmWizard.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
logger.debug("Reloading");
reload();
}
});
fmWizard.showForm();
} catch (Exception ex) {
JbsOptionPane.showErrorDialog(this, JbsL10N.getString("MassLetterWizard.openErrorMessage"),ex);
logger.error("Error opeing circular-letter-wizard.",ex);
}
}