After you've made a class, any modifications to the class must be done directly in the class_name.java file. It is also in the class_name.java file that you define any user-defined methods that you included as the event handlers to specific events.
This displays the file in the Source panel.
Make your edits outside code blocks that include:
Begin Non-Editable Code Block End Non-Editable Code Block
Edits made within these code blocks are overwritten the next time you save the interface through the visual builder.
For information on defining these methods, begin with step 5 in Handling Events With User-Defined Methods.
Guide to the Cosmo Code Development Environment
12-96*529