2006 IR Open Dicussion Posted September 5, 2006 Posted September 5, 2006 By: Javier - jvacomp MainFrame exits but main program not 2006-02-22 05:04 I want to call iReport inside a java class. I've made a simple test from a command msdos window but when I close the iReport window, the main program not finishes, not returns to the msdos prompt. Must I call any method to finish? (and not System.exit() or setEmbeddedIreport(false) that are the same thing). I'm testing with j2sdk1.4.2_06. The little java code is at the end. Thanks in advance Javier public static void main(String argv[]) { java.util.Map map = new java.util.HashMap(); it.businesslogic.ireport.gui.MainFrame ireport = new it.businesslogic.ireport.gui.MainFrame(map); ireport.setEmbeddedIreport(true); ireport.show(); }
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