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 AppletGreeting1SimpleGraphics1ImageTest1a 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.

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!