Handle Events Through a User-Defined Method

When the user selects a name from the list and clicks the Remove
button, the name is removed from the list. This requires a user-defined
method to handle the event triggered when the user clicks the button.
-
In Visual Builder, double-click the Remove button to open the
Object Manager.
-
In the Resources card, scroll to the Event Handlers section.

Notes:
-
The 1.0.2 JDK Style events are listed in upper case and that the 1.1
JDK Style events are lower case.
-
While you can mix event styles, using only 1.1 style events provides better
performance. The only exception to mixing event styles is if
you use the same kind of event. For example, if you use a 1.1
event and it's deprecated 1.0.2 equivalent, then only the 1.1
event will ever be triggered.
-
In the actionPerformed field, type removeName.
When you save the interface, Cosmo Code creates a placeholder for this
method in the .java file.
-
Close the Object Manager.

Guide to the Cosmo Code Development Environment
12-96*111