Basic HTML version of Foils prepared 20 Sept 97

Foil 14 The Simplest Java Applet: Hello, World!

From Java Tutorial - Summer 1997 Part 1:Introduction to Java Language CEWES Tutorial, Classes SU/Jackson State -- July 22-25 and Fall 97. by Nancy J. McCracken,Geoffrey C. Fox


Java applets are part of the class hierarchy that can call methods to display on a screen (within the browser window). This example defines the public method paint in this class and calls a method drawString defined in the class Graphics.



© on Sun Oct 12 1997