Computer Science 125

Introduction to Computer Science


Plain Java examples

This page contains Java 1.0 examples used in class. The Scribble applets and friends are modified from Java in a Nutshell by David Flanagan, Copyrighted 1996.

We're using a 1.1 compiler (JDK 1.1.3) in class. However, Java 1.1 enabled browsers are not yet widely used. So, we will use Java 1.0, which works now in browsers but will soon be replaced. These applets contain methods from 1.0 that are deprecated (that is, no longer supported, but still work) in 1.1. By the end of the term, Java 1.1 enabled browsers should be more commonly used, and we will discuss how to convert Java 1.0 to Java 1.1.