yael Posted February 15, 2007 Share Posted February 15, 2007 Hi,I'm running viewReport from my java application.Code:JasperPrint jasperPrint = JasperFillManager.fillReport( jasperReport, parameters, conn); JasperViewer.viewReport(jasperPrint, true);My problem is when I'm closing the view report, my java aplication closing twe!I think it's because the view frame sel exit(0)?and one more question, if I run this viewReport from JButton in a JDIalog, the view location is under my dialog, how can I set this view to be allways on top??Thanks alot :)Post edited by: yael, at: 2007/02/15 07:48 Link to comment Share on other sites More sharing options...
Teodor Danciu Posted February 19, 2007 Share Posted February 19, 2007 Hi, There is another viewReport() method that receives a boolean indicating if System.exit() should be called when closing the window. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now