|
Have a look at my best JAVA-applets! I programmed them a few years back, when Java was still new and version 1.0 (or better: 1.02) was the standard.
Java has developed further and now version 1.6 is available. You can run the applets online and download the sourcecode too if you like.
If the applets don't run on your PC, you might have to download and install a Java Virtual Machine for your browser - you get it at the SUN Java website website.
If you want to learn Java and start writing your own applets, have a look at my free Java 1.0 online tutorial!
|
Simple Animation
A simple animation to show the basic functions you need for graphical applets.
The color of the big text is cycled through all the colors of the spectrum.
» Run Applet
» Sourcecode
|
|
Bouncing Balls
The balls bounce about the window and bounce off the rectangle in the middle and each other.
The 10 balls have different speed and direction.
You can drag the obstacle around and resize it by gripping it's edges or corners.
The cursor changes it's shape correctly!
» Run Applet
» Sourcecode
|
|
Extreme Tennis
Try to keep the ball inside the playing field with the paddle.
Move the paddle with the mouse.
Click mouse to enter a new ball.
The speed goes up constantly!
The ball is reflected with different angles from the paddle, depending on the area it is hit with.
With sound effects.
» Run Applet
» Sourcecode
|
|
Timer
This timer applet can count up or down (100 hours max.), can be paused and can play an alarm sound on zero.
Change the Identifier of the timer by clicking inside the white box, then type your text and hit "Return", or click anywhere inside the applet.
When a countdown has run off, a sound is played for about 10 seconds, unless you klick anywhere inside the applet to stop it.
The sound file is looped. It must be named "alarm.au" and must be inside the applet directory.
The Colors for the Timer and for the Background (should be the same as the html-page background) can be specified via HTML page parameters.
When you count down, you can tell by graphical gauges how much time is left.
On count up, animations are visualizing the running timer.
» Run Applet
» Sourcecode
|
|
Interest Calculator
At last a 'serious' applet :-)! (one of the few I ever made).
You can enter a start capital and calculate the resulting capital with interest for 15 years.
I wrote the algorythm for the rounding and formatting of the numbers myself (see rounding class in file 'Runde.java').
» Run Applet
» Sourcecode
|
|
Slideshow
Just a simple slideshow applet with preloaded images (all the images are loaded before the applet starts).
You can either choose the slides by number, by forward / backward buttons or by switching to 'automatic', which starts a new picture every second.
» Run Applet
» Sourcecode
|
|
Dart Game
You will like this game. Place the darts in the center if you can (your hand is shaking).
And watch the time limit (the red gauge tells you how much time's left to aim)!
You can reach a maximum score of 60.
» Run Applet
» Sourcecode
|
|
Rainbow Button
The rainbow button can be set to horizontal or vertical scrolling via parameters.
» Run Applet
» Sourcecode
|
|
JAVA-RGB-Mixer
Mix your colors with the Red, Green and Blue slider and paste the hexadecimal value into your application.
The URL on the applet is a hotlink!
» Run Applet
» Sourcecode
|
|
Magic Drawingboard
A little drawing program for several graphic primitives and text in different colors.
Notice the display of coordinates and a beautiful animated intro screen.
» Run Applet
» Sourcecode
|
|