Jump to content
Changes to the Jaspersoft community edition download ×

JasperPrintReport Hangs application...


Recommended Posts



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?




Link to comment
Share on other sites

  • 5 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...