9.2. TextBox

The TextBox class is a Screen that allows the user to enter and edit text. The input devices and input methods[1] for the text entry differ dramatically from device to device. Many devices have only a numeric keypad, which allows text entry by repetitive tapping of the number keys. Also, there can be separate user-changeable input modes: for example, separate modes for entering text and numbers.

[1] Input methods are software components that interpret user operations on input devices, such as typing keys, speaking, or writing using a pen device to generate text input.

Many numeric keypad devices have a more advanced input method called predictive input.[2] If there are several alternate input methods available, the user can often ...

Get Programming Wireless Devices with the Java™ 2 Platform, Micro Edition, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.