Next, you must free the memory used by the form. This is the last operation in the main method of the program.
- The program's main method calls the API’s destroy method to delete the theForm object.
- Display any exceptions before terminating.
catch (Exception ex)
Parent topic: Developing an application in Java