Logo

Welcome to GemGfx: Quality Graphic and Web Design Outsourcing Solutions

Login to access your control panel, keep updated on the status and progress of your projects, and to contact and interact with project leaders.


Preferred Clients Only

This area is only for the select clients of GemGfx.com.

If you would like more information about how you can become a preferred client, please feel free to contact us.

Forgot Your Password?

A new password will be e-mailed to you.

Client Login

Sunday 5th of February 2012 12:59:15 PM
Feedback Bubble

 

corp_sample_2b_iv wedding_planning MyTriniBlock earth_con_half_faw corp_sample_2c_iii

Catdace Javascript Tutorial

TAGS: None

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.

See the Cat Dance

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.

See the Cat Dance

You can download all the files to this project
here

Thanks for stopping by

Regards,
Everard J. McBain Jr
GemGfx Admin

TAGS: None

Leave a Reply

© 2009 GemGfx: Quality Graphic and Web Design Outsourcing Solutions. All Rights Reserved.

Non-GemGfx logos/trademarks are copyright to their respective owners and constitute an endorsement of WordPress and not of any GemGfx Product.