Question: 6. (20 points) Write a Java application or applet program that (1) plays a sound file; (2) displays an image moving from the bottom to
6. (20 points) Write a Java application or applet program that (1) plays a sound file; (2) displays an image moving from the bottom to the top of the panel, and if the image reaches the top of the panel it will be wrapped to the bottom. This process will run forever unless you terminate the program; and (3) displays a string moving from the top to the bottom of the panel, and if the string reaches the bottom of the panel it will be wrapped to the top. This process will run forever unless you terminate the program. A sample run of the program is shown in Appendix 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
