[Instructions] [Search] [Current] [News] [Syllabus] [Glance] [Links] [Handouts] [Project] [Outlines] [Labs] [Assignments] [Quizzes] [Exams] [Examples] [EIJ] [JPDS] [Tutorial] [API]
Back to Discussion of Homework 2. On to Growing a Language.
Held Friday, February 18, 2000
Overview
Today we continue our investigation of Java's Abstract Windowing Toolkit. In particular, we revisit event handling in Java and consider how to lay out windows in the AWT.
Notes
nil with
("-oduplex" "-dpacioli")
http://www.cs.bell-labs.com/who/wadler/steele-oopsla98.pdf
Contents
Summary
javadoc,
for producing basic documentation for your code.
% javadoc -author Javafiles
StudentInfo.java,
Address.java,
Name.java, and
FacultyInfo.java
% ln -s /home/rebelsky/Web/jdk/docs/api/images .
+----------+ +------------+ +----------+
| | | | | |
| Object X |-----| Listener A |-----| Object Y |
| | | | | |
+----------+ +------------+ +----------+
|
|
+------------+
| |
| Listener B |
| |
+------------+
FlowLayout. It puts the things
in a "row", wrapping to the next row when necessary.
GridLayout lets you set up an n-by-m grid of components.
BorderLayout sets up five positions, North, South, East,
West, and Center.
Do experiments G3.2 and G3.4 of Lab G3.
Tuesday, 18 January 2000
Wednesday, 16 February 2000
Back to Discussion of Homework 2. On to Growing a Language.
[Instructions] [Search] [Current] [News] [Syllabus] [Glance] [Links] [Handouts] [Project] [Outlines] [Labs] [Assignments] [Quizzes] [Exams] [Examples] [EIJ] [JPDS] [Tutorial] [API]
Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.
This page may be found at http://www.math.grin.edu/~rebelsky/Courses/CS152/2000S/Outlines/outline.16.html
Source text last modified Wed Feb 16 13:12:56 2000.
This page generated on Sat Feb 19 16:07:51 2000 by Siteweaver. Validate this page's HTML.
Contact our webmaster at rebelsky@grinnell.edu