Current area: HOME -> Java -> UserInterface Articles
UserInterface
Custom GUI development with MIDP 2.0
In this article I'll take the new MIDP 2.0 user interface API for a test drive. By developing a simple, custom GUI component (or Item), you will learn a little bit about the CustomItem class, as well as some of the other new features of MIDP 2.0.
MIDP GUI Programming: Programming the Phone Interface
This article discusses the details of GUI programming for handheld devices. Because the MIDP GUI classes are not based on the AWT, this article starts with a brief discussion of why the MIDP Expert Group made that decision. That discussion is followed by a description of the GUI classes included in the MIDP with examples of how to use them. This article concludes with guidelines to GUI programming for mobile information devices.
Using Custom Items in MIDP 2.0
Form-based custom components are available to MIDP 2.0
applications, however, through the CustomItem class, a new
addition to the javax.microedition.lcdui package. Like all form
items, CustomItem extends the Item class. Applications can't
extend Item directly because it defines no public or protected
constructors, but CustomItem is designed to be extended. In
particular, it defines the event methods that custom components
require, to draw themselves, and to process user input.
InfoWorld is a enterprise-level publication that focuses on technology and HOW to use it to achieve higher revenues, more efficient operations and greater profits.
subscribe now