ditaandreea Posted April 22, 2010 Share Posted April 22, 2010 hy. i want to call a report created with iReport in a project from a form using a button. i use NetBeans. Link to comment Share on other sites More sharing options...
slow Posted April 26, 2010 Share Posted April 26, 2010 you should create a java class that compiles a jrxml file, passing it parameters, connection etc.... fill it, and then exports it in a format, such as pdf, xls... etc.a button click is a simple event... in the event handler, you can call the class method that runs your report.read this for a simple example to get programmatically a report:http://java.dzone.com/articles/java-reporting-part-2____________________________________if it works... give me KARMA points please! : ) Post Edited by slow at 04/26/2010 10:16 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