9.5. New for MIDP 2.0

We have marked a number of topics in this chapter as New! with an icon in the book margin. Here is a summary of the most important new high-level user interface features of MIDP 2.0 described in this chapter.

Each of the Screen classes has been enhanced to provide more control over presentation and event handling.

The Font class has been extended to allow:

  • the querying of the default Font for static text and input text (see the getFont method).

The List class has been extended to allow:

  • the ability to get and set the Font of each element in the list (see the setFont and getFont methods),

  • the control of the wrapping or truncation ...

Get Programming Wireless Devices with the Java™ 2 Platform, Micro Edition, Second Edition 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.