You can find solutions to your problems by searching in the public forums and mailing lists archives or by posting new messages regarding the JasperReports library.
JFreeReport is an open source report writer for Java with features like : full on-screen print preview, XML-based report definitions and output to PDF.
Java reporting tool that supports multiple databases (PostgreSQL, mySQL, Oracle, ODBC) and front ends (LaTeX (therefore PDF, etc.), DocBook, HTML). It also has a GUI editing environment.