Programming Exercise 15.30 developed a slide show using images. Rewrite that program to develop a slide show

Question:

Programming Exercise 15.30 developed a slide show using images. Rewrite that program to develop a slide show using text files. Suppose ten text files named slide0.txt, slide1.txt, . . . , and slide9.txt are stored in the text directory. Each slide displays the text from one file. Each slide is shown for one second, and the slides are displayed in order. When the last slide finishes, the first slide is redisplayed, and so on. Use a text area to display the slide.

Twenty-five slides are stored as image files (slide0.jpg, slide1 .jpg, . . . , slide24.jpg) in the image directory downloadable along with the source code in the book. The size of each image is 800 × 600. Write a program that automatically displays the slides repeatedly. Each slide is shown for two seconds. The slides are displayed in order. When the last slide finishes, the first slide is redisplayed, and so on. Click to pause if the animation is currently playing. Click to resume if the animation is currently paused.

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

Step by Step Answer:

Question Posted: