When you select an event in the Java Beans view, the Source view shows the relevant lines in the Java code.
The visual editor for Java is a source-centric editor, so the views reflect the recognized code structures in the source. Synchronization of selection is a key feature of the editor, and when an item is selected in the Java Beans tree, the Source view shows the relevant lines in the Java code.
Parent topic: Handling events with the visual editor
Related concepts
The Java Beans view
Related tasks
Adding events to a component
Deleting events from a component
Viewing events for a component