Create animation in Figure 16.46b to meet the following requirements: Allow the user to specify the

Question:

Create animation in Figure 16.46b to meet the following requirements:


Program Plan: • The program creates a interface for the user to enter the information regarding the images and the res■ Allow the user to specify the animation speed in a text field.
■ Get the number of iamges and image’s file-name prefix from the user. For example, if the user enters n for the number of images and L for the image prefix, then the files are L1.gif, L2.gif, and so on, to Ln.gif. Assume that the images are stored in the image directory, a subdirectory of the program’s class directory. The animation displays the images one after the other.
■ Allow the user to specify an audio file URL. The audio is played while the animation runs.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: