Hi,
I'm having a problem with JasperPrintReport causing my application to hang. I'm running the following line of code in a thread that is joined to my main application:
boolean printed = JasperPrintManager.printReport(jasperPrint, true);
When I hit the okay button my print preview screen goes gray and the app hangs. The weird thing is that if I call set the second parameter to false, it prints out just fine:
boolean printed = JasperPrintManager.printReport(jasperPrint, false);
Does anyone have any ideas about what might be going on here?
Thanks,
Perry
I'm having a problem with JasperPrintReport causing my application to hang. I'm running the following line of code in a thread that is joined to my main application:
boolean printed = JasperPrintManager.printReport(jasperPrint, true);
When I hit the okay button my print preview screen goes gray and the app hangs. The weird thing is that if I call set the second parameter to false, it prints out just fine:
boolean printed = JasperPrintManager.printReport(jasperPrint, false);
Does anyone have any ideas about what might be going on here?
Thanks,
Perry