Jump to content
We've recently updated our Privacy Statement, available here ×

ditaandreea

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...