Let's face facts—graphics are the heart of gaming, and good graphics consist of writing and animating all sorts of images on a device's screen.
The MIDP UI component that supports this low-level approach is the
javax.microedition.lcdui.Canvas class. This is the class where all the action happens.
Canvas handles low-level events and allows you to draw directly onto the device's display. The
Canvas class, just like the
Screen class, implements the
javax.microedition.lcdui.Displayable interface. Just like a
Alert, or any other type of screen, you can easily create and display multiple