Follow these steps in order to further enhance your Animator Applet:
(It is assumed that you have already gone through the following two
examples: Build Animator Applet and Enhance
Animator Applet)
- Press the Create choice button and choose Button. Move the mouse to
the location you wish the Button to appear in the Actual View Window and
click on the mouse.
- Press the Attributes button. Click on the new Button wrapper and enter
Pause in the Button Name dialog window.
- Press the Create choice button and choose TxtField. Move the mouse
to the location you wish the Button to appear in the Actual View Window
and click on the mouse.
- Press the Add Actions button.
- Click on the Pause Button wrapper.
- Click on the Animator wrapper.
- In the Helper Dialog, choose Take New Pause using the second choice
button (Take New Pause).
- Press OK.
- The Helper Dialog asks you where the pause is to be taken from. Click
on the Text Field wrapper.
- Press OK.
- Test your applet. Enter 1000 in the Text Field (the pause is measured
in milliseconds) and press the Pause button.