Reputation: 421
Ive searched through similar answers but not quite getting a complete answer so need to explain here.
What i have is a JFrame form that an Employee in a manufacturing plant needs to fill in everytime something goes wrong with the production process.
What i want is for a user to click a "Print Report" JButton on the JFrame form and it will populate the following PDF Report with the info from the JFrame.
JFrame form
PDF Report
Upvotes: 0
Views: 179
Reputation: 421
I ended up using Jasper Studio. It does the job perfectly. Has a bit of a learning curve but works 100%.
You can just send the report an SQL Query rather than all the parameters to create a dynamic Report.
https://community.jaspersoft.com/project/jaspersoft-studio/releases
Upvotes: 0
Reputation: 879
JasperReports is also a good alternative. I've been using it for a while now and it works perfectly for generating/exporting dynamic reports. You only need to design the template once using iReports and you can use it to generate any PDF on the fly.
Upvotes: 0
Reputation: 1012
I use this library http://itextpdf.com/, you will spend some time programing the form, but then all will be really fast.
Upvotes: 1