Chapter Summary

This chapter introduced you to the full set of MIDP UI component classes. There are two general categories of UI components: those under the Displayable hierarchy and those under the Item hierarchy.

The Screen class derives directly from Displayable and defines the main abstraction in the MIDP. MIDP applications are fundamentally based on screens.

A Form, a kind of Screen, is the only kind of screen that can aggregate other components. A Form can contain String objects, images defined by the Image class, and objects whose types are subclasses of the Item class.

The typical MIDP application must be able to navigate between screens. Therefore, screens must be able to pass a reference to a valid instance of the screen object that ...

Get Wireless J2ME™ Platform Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.