Java Reference
In-Depth Information
2. When the Choose File dialog box displays, if necessary, click the box
arrow and then click CommissionApplet.html in the list. Click the Yes
button.
3. When the applet displays, do not enter any data in the text box. Click
any one of the option buttons.
The applet clears the option button selection and displays an error message
(Figure 4-62).
no data entered
in text box
option buttons
are cleared
error
message
FIGURE 4-62
4. Type two thousand in the text box.
The invalid alphabetic data is displayed in the text box (Figure 4-63).
invalid
alphabetic
data
FIGURE 4-63
5. Click any of the option buttons. When the applet displays an error
message and clears the alphabetic data, type 52375 in the text box.
The applet clears the invalid alphabetic data and the option buttons. A valid
sales amount is displayed in the text box (Figure 4-64).
 
Search WWH ::




Custom Search