Compiling and viewing your report in a Java Swing application
This recipe teaches you how to embed JasperReports functionality in a Java swing application.
Refer to the
installPostgreSQL.txt file included in the source code download for this chapter to install and run PostgreSQL, which should be up and running before you proceed.
The source code for this chapter also includes a file named
copySampleDataIntoPGS.txt, which helps you create a database named
jasperdb9 and copy sample data for this recipe into the database.
You will need Java Development Kit (JDK) version 1.6.X to compile and run the Java application of this recipe. You will find all the necessary downloads and instructions on Sun's official website . After installing JDK, ...