Adding events to components
Double-click a component in the UI designer to create a default event. JBuilder generates the code and switches to the editor with the cursor positioned inside the event. Add the desired action to the event. For other events and for non-visual components, double-click the value field in the Inspector for the desired event. Again, JBuilder generates the skeleton code and switches to the editor.