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

Jasper Viewer Question


ethos71

Recommended Posts

does any one know how to make the jasper viewer open in the same window...

 

currently if someone generates a report then goes and generates another report without closing the first report i will get a new window for the report (2 windows)

 

i want this new report to open up in the same window as the previous report rather then opening a new window.

 

thanks

dominick

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 years later...

Hi ,

 

I have a doubt using jasper viewer , wen ever  i run the reports in client side reports are not open client machine .

give some solution . i am using the code of JFviewer and jasper viewer code also .

 

 

Rgds,

 

iyyappan

 

Code:
frame.getContentPane().add(new JRViewer(jasperPrint));				ByteArrayInputStream inputStream = new ByteArrayInputStream(fileName.getBytes());				frame.getContentPane().add(new JRViewer(jasperPrint));				frame.add(BorderLayout.CENTER, viewer);				frame.setSize(1024, 748);				frame.setVisible(true);
Link to comment
Share on other sites

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