Illustrative examples
JReport provides you with some sample programs which demonstrate how to create and edit reports using the Design API in <insatll_root>\help\samples\APIDesign
. They are:
- TestDesignEditInvoice.java
An example of how to modify an existing page report template.
- TestDesignGraph.java
An example of designing a report with a chart.
- TestDesignInvoice.java
An example of designing a report containing a banded object.
- TestDesignSubreport.java
An example of designing a report with a subreport.
- TestInsertCrossTabIntoBanded.java
An example of inserting a crosstab into a banded object.
- TestInsertCrossTabIntoReport.java
An example of designing a report with a crosstab.
- TestMutiUserDesign.java
An example of creating two reports at the same time.
The following are three specific examples of using the Design API: