Chapter 10. J2ME User Interfaces

This chapter introduces the user interfaces supported by the Java 2 Micro Edition (J2ME or JME) edition. Java platforms other than J2EE/J2SE, such as the JavaCard environment, which has no explicit GUI support, won't be covered. The practical examples in this chapter are based on the J2ME Mobile Information Device Profile (MIDP). However, most of the material in this chapter, whenever not explicitly expressed otherwise, applies to J2ME GUIs in general, not only MIDP GUIs.

J2ME is introduced briefly with a technical introduction of this programming environment, followed by some details about GUI design for this profile. Practical examples are given. A questionnaire for assessing the usability of J2ME applications can be found in Appendix B.

This chapter is structured as follows:

10.1, Introduction to the MID profile briefly introduces the J2ME MID profile.

10.2, The MIDP UI API introduces the details of the API for MIDP GUIs.

10.3, Designing MIDP GUIs provides an overview of GUI design for MIDP GUIs.

10.4, Designing navigation discusses the specific of navigation in a MIDP GUI.

10.5, An example custom item discusses the customization of a MIDP GUI component by means of a practical example.

10.6, An example ad-hoc item shows an example an ad-hoc item component for representing numeric data using pie charts.

10.7, An example application introduces the Park MIDP application, illustrating a GUI design and development approach to navigation.

Introduction to the ...

Get Professional Java User Interfaces 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.