Jump to content

Closing Jasper report is forcing to close JVM


thoque

Recommended Posts

Hi

    I am calling Jasper report from a (java based) ImageJ application - but whenever I close JasperReport it kills/Closes ImageJ as well which is unwanted.

It there a different way to all Jasper report to avoid this?

I got suggestion from ImageJ forum (thanks to Curtis) that:

"The problems is most likely caused by the 'System.exit' being called by Jasper-report. If JasperDesignViewer is used, it adds a WindowListener to itself that calls exitForm() on close, which invokes System.exit(0), which shuts down the JVM." [/code]

Any suggestion or solution please?


Thanks

Tamjid

Link to comment
Share on other sites

  • 1 year 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...