We will now create a class that will be used as the viewer for reports produced by iReport. We will create the viewer as an internal frame so that this can be added on a JDesktopPane
within a Java swing frame (javax.swing.JFrame
).
The viewer program will be created based on the JasperReport API. Special handling is required to use JasperReport API in your NetBeans project.
The API for calling report is located generally at the location C:\Program Files\Jaspersoft\iReport-nb-3.7.0\ireport\modules
and C:\Program Files\Jaspersoft\iReport-nb-3.7.0\ireport\modules\ext
, or the location where you installed the iReport. Before following the steps listed, create a folder named ...
No credit card required