Creating a Java Applet

Here are some examples of other Java Applets.
This is a small Java program I was able to put together quickly:

Click on it to increasee the counter.

Here is an example of an Applet that takes parameters:

Click to pause and unpause the bouncing text.

Here's the source to the above Applet.

In fact, for some examples of other java code look in the directory /opt/java/demo. There does not seem to be any standard set of Applets that people are using, everybody just writes a different implementation of the same stuff. Everyone has written a ticker tape, a lot of people have written asteroids games. If you are not interested in Java as a language then I suggest that you cruise through the site listed below to find already finished Java Applets that you can use in your own web pages. Most people include the source for their applet and tell you how it should be called.


This is a website that has lots of Java Applets.



Prev Subject Next Subject