2003 Prentice Hall, Inc. All Rights Reserved
2003 Prentice Hall, Inc. All Rights Reserved
2003 Prentice Hall, Inc. All Rights Reserved
• Multimedia
– Use of sound, image, graphics and video
– Makes applications “come alive”
Program Output
• Image map
– Contains hot areas
• Message appears when user moves cursor over these areas
ImageMap.java
Program Output
ImageMap.java
Program Output
javax.swing.JPanel
ImagePanel 1..*
1..* 1
AnimatedPanel SoundEffects
graphics view
imageIcons 0= 0 1 2 A B C
1= 0 1 3 1 0 A B D B A
A B C D
0 1 2 3 2= 2 1 0 C B A
3= 3 2 2 0 D C C A