The MIDlet loads and displays a pre-generated static SVG image of a lion cub. The user can manipulate the image by zooming and rotating. The menu options include:
Zoom in
Zoom out
Rotate counter clockwise
Rotate clockwise
Restore zoom and rotation
Exit the MIDlet
Figure: Pre-generated static SVG image
The MIDlet consists of the following classes:
LoadStaticMidlet
—MIDlet main class, which
sets up the UI and menu options and displays the SVG image
SvgCanvas2
—GameCanvas
class
that sets up and draws the SVG image
For information about implementing the MIDlet, see section Implementation.