void begin() { ... }
The simplest event handling method is "begin". JavaTools invokes this method each time your Applet begins execution. Thus, right after you select "Run" under Metrowerks or right after someone opens a page containing your applet using a web brower, the instructions you provide in "begin" will be executed.
"begin" is the appropriate place to perform any steps needed to get your applet started. This may include drawing the initial screen display, adding user interface components to the screen display and assigning initial values to applet variables.
"begin" must always be defined as a parameterless method.