Developing for the
Motorola T720 Handset
29
MIDlet Wizard - Summary
To complete the wizard and generate the project just review the attributes that you have
specified, then click the Generate button. The CodeWarrior IDE creates the project files
and a project folder for a new MIDlet project. The CodeWarrior IDE displays a new Project
window (Figure 4.11).
Figure 12. Project Window for MIDlet Project Created by the MIDP MIDlet
Wizard
The IDE also opens three other windows: the Component Palette window, the Object
Inspector window, and the RAD canvas window. For more information about using these
windows, see “Java MIDP Components” on page 145 and the IDE User Guide.
Preverifying a MIDlet
Due to memory and processing power available on a device, the verification process of
classes are split into two processes. The first process is the preverification which is off-
device and done using the preverify tool. The second process is verification, which is
done on-device.
The byte code preverifier tool rearranges byte codes in the classes to simplify the final
stage of byte code verification on the CLDC virtual machine. The preverifier tool also
checks for the use of virtual machine features that are not supported by the CLDC.
To preverify a MIDlet:
1 Open the Target Settings window.
Select Edit > TargetName Settings from the main menu bar (where TargetName
is the name of the current build target). The IDE displays the Target Settings
window.