Sample Reports

The JPDF provides a reporting capability which allows you to compose, preview and print a wide variety of reports.   The toolbar above allows you to preview and print the Sample Reports included in the Demo.  To preview a report, select it from the combo box, and press the Preview Button ().   The report can be printed by pressing the Print Button () from the Preview Dialog's toolbar.

Available Reports

Most of the available Sample Reports pertain to Acme Lab Supplies (a fictional company).  This is intended to showcase the ability to compose the types of reports commonly used in a business environment.  All of these reports have a consistent look which adheres to Acme's reporting standards.

The Massachusetts Public Libraries report contains a listing of the public libraries in the state of Massachusetts.  The dataset underlying this report is exactly the same as that used for the Mass Public Libraries table displayed in the Sample: Swing tab.  This demonstrates that the ability to present a dataset in one format on the screen (i.e. in a Swing table), and in another format when printed (i.e a report).

Report Viewer

The JPDF Preview Dialog serves as an on-screen Report Viewer.  The Report Viewer's tool bars can be programmatically customized to allow the user to specify various report parameters. 

A simple example of this capability is showcased by the Acme - Consolidated Income Statement report.  For this report, a tool bar allows the user to select the Fiscal Year.

A more comprehensive example of this capability is showcased by the Massachusetts Public Libraries report.  For this report, the included tool bars allow the user to specify the data filtering, sorting, and segmentation to be used.