The following is an excerpt from one of my coursework exams when I began my degree. You can see the project and the program in action at this link.
You can download all the files to this project
here
Introduction:
For this forth and final coursework assignment, I chose to go with something that is of particular interest to me. That is the use of Java as it applies to web based applications in particular the use of the Java Applet. I am interested in learning how to produce web graphics using java and also to make them interactive. In addition to this I wanted to find a way to bring sound effects into the web experience using java.
Java Applets are very useful for web developers for it allows them to integrate with the users browser an application of some sort to increase the users interactivity with the web.
An applet is a little Prior to the World Wide Web, the built-in writing and drawing programs that came with Windows were sometimes called “applets.” On the Web, using Java, the object-oriented programming language, an applet is a small program that can be sent along with a Web page to a user. Java applets can perform interactive animations, immediate calculations, or other simple tasks without having to send a user request back to the server.
For this particular assignment I have located a java applet that displays a button in a web browser that when clicked by the user explodes. It incorporates, graphics, interactivity, and sound, all with the use of Java. It appears in the web browser with the use of a Java Applet. It is a simple code but it incorporates four of the basics of Java that I would like to learn.
1. Java Applets.
2. Images.
3. Sound
4. User interactivity.
The Program:
I simply wanted to create a program that could be placed in a web page that gave a user some type of interactivity (something to click) that would cause the program to act and then cause some kind of result that involved images and sound. I did not need to use more than one field so I shortened the program.
I wanted to know how to get an image to appear in a browser and an audio file to play using java. The Cat Dance program did just that.
You can download all the files to this project
here
Thanks for stopping by
Regards,
Everard J. McBain Jr
GemGfx Admin


