- Your report project has a Java nature.
- Your report design includes a label.
- Your report project includes a Java class named MyLabelEventHandler, containing methods for handling label events.
- In Outline, select a label item from the outline of your report design, as shown in the following illustration.
- In Property Editor - Label, select Event Handler, as shown in the following illustration.
- In Event Handler Class, enter MyLabelEventHandler, as shown in the following illustration.