Basic HTML version of Foils prepared October 30 1999

Foil 12 Graphics Concepts in Java Applets

From Short Introduction to Kids on Basic Programming Concepts in Java Sonia Kovalesky festival workshop (High School Girls) -- October 23 1999. by Nancy McCracken


One kind of Java program is an applet, which is a program that can run in (most) web browsers such as Netscape.
The name of the applet is given in an <APPLET> tag in an HTML file.
Think of a Java applet as a graphics window on which to draw text and other objects.
The graphics window has a particular width and height as specified in the <APPLET> tag
The origin is in the top left-hand corner of the graphics window: the x-coordinate increases from left to right, while the y-coordinate increases from top to bottom



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Oct 30 1999