Jump to content
We've recently updated our Privacy Statement, available here ×

JasperPrintReport Hangs application...


PerryClayton

Recommended Posts

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

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...