Navigating iReport Activity







Note: Many of iReport's most powerful features are accessible from the main menu:


- Select Preview to specify the application with which to preview a report

- Select Tools > Options to add files to the Classpath, configure the viewer applications to preview your reports, or specify export options

- Select the Window menu to make visible any of the panels or palettes


Begin by clicking the Window menu to view the names of iReport panels.


Note: The menu shows a list of the panels and palettes available in iReport.


Beneath the Window menu is the data source drop-down window. At its immediate left is the Report Datasources button. To specify a report's data source, either click the button to add a new one, or click the drop-down list and select an existing data source.


Click the Report Datasources button to investigate the connections window.


Note: The Connections / Datasources window appears. This window allows you to add, modify, delete or select a data source.


Click the Close button to close this window.


Now, open a sample report.

In the main menu, click Help > Samples > Basic Report.


Note: The report template opens. It contains a title near the top and several smaller text fields represented by the $F{ } syntax.


Next, display the Report Inspector panel.

From the main menu, click Window > Report Inspector.


Note: The Report Inspector panel appears next to the report, and the Report Inspector is populated with report elements. The Report Inspector lets you view how elements are distributed in a report. Ask your instructor if you need help displaying the Report Inspector panel alongside the report.


Note: In the Report Inspector you can:

- Right-click the top node (named for the report) to access configuration features

- Select any report element to view and edit its properties

- Move elements from one part of the report to another


Note: Just above the report template, the designer tool bar provides many useful tabs and buttons to manage report lifecycle processes:


- Designer tab: Returns to design view so you can edit the report

- XML tab: Displays the JRXML source markup

- Preview tab: Executes the report query against the selected data source and generates a preview of the report

- Report Query: Allows you to write/edit a SQL query

- Zoom In/Out: Provides a closer or more distant view of the report

- Compile: Turns the JRXML source into a compiled .jasper file


Next, open the Report Elements palette.


Click the Window menu.


Click the Palette menu item.


Note: The Report Elements palette appears, typically at the right of the report. Chart, image, text, frame, and geometric shapes are available here. Drag any element from the palette into the design window to add that element to a report.


Next, open the Properties panel.


Click the Window menu.


Click the Properties menu item.


Note: The Properties panel appears, typically alongside or underneath the Report Inspector. When you select a report element in either the Report Inspector or the design window, you can view and edit the report element properties here.


In the Report Inspector, expand the Detail 1 node.


Click to select the $F{ORDERID} node.


Note: You edit the field's properties in the Properties panel.


Note: When a report element is selected in the Report Inspector, it is also highlighted in the report by a light-brown selection rectangle.


Note: The Design Window (or Design Area) is the center panel in which the report displays, and serves as the workspace in which you add and delete report elements and modify the report layout.


Next, open the Formatting Tools panel.


Click the Window menu.


Click the Formatting Tools menu item.


Note: The Formatting Tools panel appears, usually at the right of the report, alongside or underneath the Palette. In this panel, specify an element's length, width, location, and vertical and horizontal alignment.


Now, open the Repository Navigator.


Click the Window menu.


Click the JasperReports Server Repository menu item.


Note: The Repository Navigator panel appears. The Repository Navigator (also called the JasperReports Server Plugin) facilitates your remote interaction with the JasperReports Server repository from within iReport. The Repository is not yet configured; this is done in a later activity.


Next, open the Report Problems Window.


Click the Window menu.


Click the Report Problems menu item.


Note: The Report Problems Window appears, usually near the bottom of iReport. Check the Report Problems Window for messages that may help you identify a problem or error when your report does not view properly.


Finally, open the Styles Library panel.


Click the Window menu.


Click the Styles Library menu item.


Note: The Styles Library panel appears. This panel offers easy access to default styles and your custom styles.




You successfully navigated the iReport interface and panels.


View the Online Learning Portal here (

End of Procedure.