21. Multimedia: Applets and Applications

The wheel that squeaks the loudest ... gets the grease.

John Billings (Henry Wheeler Shaw)

We’ll use a signal I have tried and found far-reaching and easy to yell. Waa-hoo!

Zane Grey

There is a natural hootchykootchy motion to a goldfish.

Walt Disney

Between the motion and the act falls the shadow.

Thomas Stearns Eliot

Objectives

In this chapter you will learn:

  • How to get, display and scale images.

  • How to create animations from sequences of images.

  • How to create image maps.

  • How to get, play, loop and stop sounds, using an AudioClip.

  • How to play video using interface Player.

Outline

21.1 Introduction ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.