March 2002
Intermediate to advanced
400 pages
8h 44m
English
The MIDP UI components are defined in the javax.microedition.lcdui package. This package name will probably change in a future release because its name is too closely tied to a particular type of physical display device. The MIDP UI components comprise the majority of classes in this package. Understanding the organization of these UI components is essential to building MIDP applications.
Listing 3.1 offers the first demonstration of the use of some of these components. The last two lines of the startApp() method highlight the crux of the MIDP UI programming model and demonstrate how the primary UI component classes interact:
display = Display.getDisplay(this); display.setCurrent(form);
The first of the two lines ...
Read now
Unlock full access