Java Reference
In-Depth Information
Figure 5-4.
Relationships between a typical Displayable instance, its Command instances,
and its CommandListener
Introducing Basic Visible Items
As noted in a previous section, the
Form
class is responsible for collecting visible items
into a single screen. Derived from Sun's UIWidget example, the pseudocode example in
Listing 5-2 shows you how to add items to a
Form
at
Form
construction time.