Jump to content
Changes to the Jaspersoft community edition download ×

closing report application is closed


Recommended Posts

By: Dejan Nikolov - dejanreku

closing report application is closed

2002-02-08 04:07

Hi Teodor

 

In java I view report with:

JasperViewer.viewReport(jasperPrint)

and when I close report,

entire application is closed.

 

Please help me

 

 

 

By: Teodor Danciu - teodord

RE: closing report application is closed

2002-02-08 04:37

 

Hi,

 

The JasperViewer class is more like a demo

application and its purpose is to show how the

JasperManager class can be used to view or

print reports.

 

It is in fact a standalone application that

performs a System.exit(0) when the main window

is closed.

 

I suggest you copy the source code of this class

(and JRPageViewer also) and make a report viewer

of your own.

This way you can suppress the System.exit(0) call

on the closeWindow() event.

 

Good luck!

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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