reportButton.setEnabled(false);
reportButton.addListener(SWT.Selection, new Listener() {
JasperPrint jasperPrint;
public void handleEvent(Event arg0) {
ManagerConferReport managerConferReport = new ManagerConferReport();
try {
jasperPrint = managerConferReport.getJasperPrint(new GDDate(initialDateText.getText()), new GDDate(finishDateText.getText()));
GDWindowControl.getInstance().createReport(jasperPrint, "Descontos concedidos no recebimento de parcelas", false);
} catch (JRException e) {
e.printStackTrace();
}
}