Chapter Summary

In this chapter you learned about the MIDP high-level API. The high-level API abstracts details about the implementation of the following:

  • rendering UI widgets

  • event processing

MIDlets that use the high-level API cannot change the look and feel of widgets. And they cannot get information about the actual device keys or buttons pressed that cause a command to fire.

Commands capture only semantic information about an “event.” The command doesn't represent the behavior or action that occurs in response to an event, however. Command listeners define the behavior of commands by defining the processing that takes place as a result of a command firing by the implementation.

The exact policy for the placement of command labels on the screen ...

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.