O'Reilly logo

Java™ for Programmers: Deitel Developer Series, Second Edition by Harvey Deitel - Deitel & Associates, Inc., Paul Deitel - Deitel & Associates, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 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’ll learn:

• How to get, display and scale images.

• How to create animations from sequences of images.

• How to create image maps that can sense when the cursor is over them.

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

• How to play video using interface Player.

21.1 Introduction

21.2 Loading, Displaying and Scaling ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required