MIDP 2.0 Additions

Version 2.0 of MIDP improves the existing high-level user interface API significantly. Additionally, there are three new packages packages, javax.microedition.lcdui.game, javax.microedition.media, and javax.microedition.media.control, especially for game and multimedia programming.

LCDUI High-Level Improvements

For the high-level part of LCDUI, there are several significant additions and improvements:

  • The new Class CustomItem allows user drawn items

  • Commands can also be assigned to Items

  • All items have a new setLayout() method

The CustomItem class allows you to combine the flexibility of the low-level API directly with the high-level API on the same screen. The ability to assign commands to items allows context-sensitive menus, ...

Get Java™ 2 Micro Edition Application Development 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.