Here are some applets that show how the Java programming works.
Simple button - Read the message on the button, then press it to see a new message. See the code
Password applet - Enter one of the valid passwords to have access granted (Rosebud, Redrum, Jason, Surrender, or Dorothy) or enter your own password to see "Access denied...". See the code
Advanced button - This program prints a line of text with a button. When you press the button, the text keeps growing until it reaches a certain size, then the button disappears. See the code
PacMan - This applet displays a picture of the popular 80's video game PacMan. See the code
Moving Graphics - This applet creates a yellow background with a button that, when pushed, produces a line of text that moves downward at a diagonal each time the button is pushed. Once it gets to the bottom, it produces a green and a red balloon and the button becomes inactive. See the code
Skyline Silhouette - This is a good one for young kids around 2 - 4 years of age. It's a silhouette of a city with a yellow background for daytime and a button ready to be pressed. If you press the button, the background changes to blue for nighttime. Click it again and you're back to day. At first, you might have to click it twice to get the background to change to blue. See the code
Star-shaped Polygons - This demonstrates the use of arrays with Applets. One star was drawn using the array coordinates. The same star was copied to a different location. The third was drawn in another array using a solid method. See the code
Stoplight - This applet can be used as an advertising tool. Press the button and the light color and message change. See the code
Smiley Face - This is another good one for young kids around 2 - 4 years of age. It's a smiley face that starts out smiling, but when you push the button, it frowns. See the code
This is where I plan on putting my project of converting Applications to Applets.