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


1 One kind of Java program is an applet, which is a program that can run in (most) web browsers such as Netscape.
2 The name of the applet is given in an <APPLET> tag in an HTML file.
3 Think of a Java applet as a graphics window on which to draw text and other objects.
4 The graphics window has a particular width and height as specified in the <APPLET> tag
5 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

in Table To:


© 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