2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: kdamir - kdamir Modal Property = True and Jasper Report 2006-04-15 13:48 I tried to run Jasper Report from Java Swing Aplication and encountered a problem because my Swing (JDialog) has Modal Property set to True. Report runs OK but everything is disabled. If I set Modal Property of jDialog to false everything works fine as a Report is conserned, but my aplication has other problems because False Modal Property. Does anyone knows how to solve this problem. When I generate report I try to show it with next line: JasperViewer.viewReport(jasperPrint,false); And I repeat, everythin works perfectly if Modal is set to false, but it is very critical to set it to True. Please help Thanxs in advance Damir Link to comment Share on other sites More sharing options...
saniel Posted November 4, 2010 Share Posted November 4, 2010 Code:i think that you don't need to set modal property of jdialog to false. just avoid calling your jdialog form like this: JDialog myJdialog =new JDialog(null,true). replace null by a non null reference. 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