Figure 5-1: Displayables in the javax.microedition.lcdui package
Figure 5-2: The four children of Screen: (a) TextBox, (b) Alert, (c) List, and (d) Form
Figure 5-3: A simple MIDlet with a single command, Exit
Figure 5-4: This MIDlet has more commands than the device has soft buttons. Invoking the (a) system-generated Menu command brings up the (b) remaining commands.
Figure 5-5: A ticker scrolls across the top of a screen.
Figure 5-6: Alerts are similar to modal dialogs in a desktop windowing system.
Chapter 6: Lists and Forms
Figure 6-1: List types: (a) EXCLUSIVE and (b) MULTIPLE lists
Figure 6-2: IMPLICIT lists combine selection and confirmation.
Figure 6-3: A form with a single StringItem and a Back command
Figure 6-4: A form with a single TextField and a Back command
Figure 6-5: Editing a TextField
Figure 6-6: An ImageItem shown in 4-bit grayscale
Figure 6-7: DateField in Sun's J2MEWTK emulator
Figure 6-8: A Gauge
Figure 6-9: A MULTIPLE ChoiceGroup in a Form
Chapter 7: Persistent Storage
Figure 7-1: RecordStores belong to MIDlet suites.
Figure 7-2: Inside a RecordStore
Chapter 8: Connecting to the World
Figure 8-1: The Connection family tree
Figure 8-2: The HttpConnection interface
Figure 8-3: The ImageLoader example
Figure 8-4: The DatagramConnection interface
Chapter 9: Programming a Game Interface
Figure 9-1: Canvas coordinate axes
Figure 9-2: Playing around with Graphics
Figure 9-3: Packing a color into an integer
Figure 9-4: Text anchor points
Figure 9-5: TextCanvas in the flesh
Figure 9-6: The three font faces in italics
Figure 9-7: Image anchor points
Figure 9-8: SweepCanvas animation running on a grayscale emulator
Chapter 11: Parsing XML
Figure 11-1: A simple architecture for Jargoneer
Chapter 12: Protecting Network Data
Figure 12-1: Protecting a password with a message digest
Figure 12-2: A simple form collects a user name and password.
Figure 12-3: The server says whether you're logged in or not.
Figure 12-4: Enter your secret message in StealthMIDlet's main screen.
Figure 12-5: The servlet sends back its own secret message.