Polyolefins such as polyethylene undergo slow degradation when placed in air. Degradation occurs by reactions with atmospheric oxygen that lead to the formation of carbonyl groups (groups containing oxygen), gradual….
Modify the above program so that the user can repeatedly specify further sound and/or video files (without necessarily waiting for the previous file to finish playing).
Modify the code for SimpleSound.java so that the user can specify the number
of 'cuckoos' when 'play' is pressed. (For separate chimes, you will need to
insert an empty delay loop with a very large upper count value.)
2. (i) Compile and run the MediaPlayer program from the end of the chapter,
experimenting with the video and sound files supplied on the CD-ROM.
(ii) Modify the above program so that the user can repeatedly specify further
sound and/or video files (without necessarily waiting for the previous file to
finish playing). 13.1 From the CD-ROM accompanying this book, copy the .class and .html files
for the AppletGreeting1, SimpleGraphics1, ImageTest1a and ImageTest1b
examples, along with image files cute kittie.gif and earth.gif. Ensuring that
the files are in the current folder, load up each of the HTML files into the
appletviewer and your browser, in turn, observing the results.