Basic HTML version of Foils prepared July 10 1996

Foil 41 AWT - Grid Layout with Two Components

From Introductory Lectures on Java -- An Overview Mixing Code and Comments Trip to China and Icase Tutorial -- July 12-28 and June 10-13 96. by Geoffrey C. Fox


A simple example of using the Abstract Windowing Toolkit divides the applet space into two components. One is a Canvas for drawing graphics or images; one is a Panel which has three buttons. We choose to draw the Canvas within the Applet and to create the Panel in another class.



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 Sun Dec 14 1997