Chapter 17: Applets, Images, and Sound Java Programming, Fifth Edition Objectives Learn about applets Write an HTML document to host an applet Use the init() method Work…