The UBC Java graphics tutorial—a still picture

We shall begin by looking at a very simple applet which displays a square in the middle of a canvas. First a few words on some very practical matters and the basic mechanism of Java. Java is the nameof a computer language, and also thename of a virtual machine which interprets this language. A copy of the virtual machine sits inside the browser on which someone will see your program run.
Read more