Design

The MIDlet creates a simple static SVG image that shows a smiley face.

Figure: Static SVG image

The MIDlet consists of the following classes:

  • HelloWorldMidlet—MIDlet main class, which sets up the UI and displays the SVG image

  • SvgCanvas1GameCanvas class that sets up and draws the SVG image

For information about implementing the MIDlet, see section Implementation.