views:

16

answers:

1

I'm using netbeans and Jasper report to generate report.The report gets generated but when I close the Report viewer window it exits my program /application.I want the Report window to be either disposed or hidden.Is there any way using which I can achieve this ?

A: 

I got the solution ! Did a bit of searching and found the answer to my problem here ->JasperReports Discussion/Help Topic : viewReport - Exits my app?
I didn't add the false parameter to the function
JasperViewer.viewReport(jasperPrint,false);
:)

charanraj