Java Reference
In-Depth Information
4. Click 10 in the Number in party list. Click the Nonsmoking option
button.
The user selections are displayed (Figure 5-40).
10 selected
in Number
in party list
Nonsmoking
option button
selected
Book Room
button
FIGURE 5-40
5. Click the Book Room button.
The Reservations application books the first available nonsmoking room
(Figure 5-41). The background color of the first TextArea component is set
to light red, and the input values display in the TextArea component. Input
fields are cleared.
input data displays
in TextArea
component,
with background
set to light red
Number in
party list reset
option buttons
cleared
text box cleared
FIGURE 5-41
6. Repeat steps 3 through 5 to enter the data from Table 5-14 on
page 357 for each of the customers.
After all the data is entered, Java displays a message that all of the
nonsmoking rooms are full (Figure 5-42).
 
Search WWH ::




Custom Search