Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way of printing simple reports in java

Tags:

java

report

I have developed a Java application and now i want to give some simple printing support. Something like printing invoices , some reports etc. Right now I'm creating that stuff in html, showing it on JEditorPane. but html support is quite poor and I'm really fade up of that thing. Is there any better way of doing such thing? Any better browser component, or better tool to create such simple reports? (JDK 1.6)

like image 840
Myth Avatar asked Jul 09 '10 15:07

Myth


2 Answers

I love JasperReports for that. In combination with iReport (a GUI for creating the reports) is the best I could find for free in Java to do reporting.

You can also generate PDFs files with iText for printing. Although I think it will be easier to use iReports.

like image 93
Pablo Santa Cruz Avatar answered Oct 05 '22 18:10

Pablo Santa Cruz


JasperReports is a pretty nice reporting tool for Java. It could be a bit heavy weight for what you want.

like image 23
Edward Dale Avatar answered Oct 05 '22 18:10

Edward Dale