IBM's Java Applet Workshop Class Project

My first foray into Java programming was an online Java Applet Workshop created by IBM. The class is available from:

http://www.ibm.com/java/education/buildapplet/

It's really not a very good first Java class, but that's only because it assumes that you already know a bit of Java. They also have another class, Introduction to Java that wasn't available for free at the time I took the Applet class that should be considered a prerequisite for the Applet class. Naturally, I took this Introduction class later, but by then I had already read most of Thinking In Java, 2nd ed., which is a much better way to learn Java.

Scrolling Panorama Image Applet Demonstration

The project in the Applet class was to make an applet that scrolled a panoramic image around in a loop. Just to show that I actually did take the class (all 37 parts), here's my version of the class project:

Scrolling Panorama Applet

Source code (corresponding Javadoc)

Naturally, my version has a few enhancements and some of my own style added in. Enhancements include:

  1. Added drawing methods to superimpose a happy face on the image.
  2. Added a MouseListener to watch for mouse presses.
  3. Added documentation.
Valid HTML 4.0!