JETT handouts

These are the files distributed to our participants at the workshop. You can download them all at once as part of a ZIP file:

handouts.zip

We also distributed a booklet (PDF) for the workshop, which contains the workshop schedule, assignment details, and the code.

Kathleen Weaver, a workshop participant from Dallas, has converted these materials into a set of laboratory exercises that could be used by teachers interested in learning or even as a starting point for making student assignments. Her write-up parallel what we did at the workshop, but she has improved on some of our explanation also.

Introduction to OOP

TriangleRobot.java
PolygonRobot.java
MouseFollower.java

To use these, you need the Robots library, which you can download here:

robot.jar
BlueJ has two ways to install a library like this, and either may be convenient depending on your lab setup:
  1. Place it into BlueJ's lib/userlib directory.
  2. Add it via the Libraries tab in the Preferences... dialog (under the Tool menu)
I used the following files so that the library's classes would show up in the main BlueJ window.

Canvas.java
Chassis.java
MouseTracker.java
Pen.java
Voice.java

Arrays

I want to warn you: The code for this assignment was not really produced with hope that others (including teachers) would be able to easily understand and modify it.

julianna.jpg
ImageBuffer.java
ImageTransform.java
ImageUtil.java
Main.java
Pixel.java
Viewer.java

Collections

CollectionExample.java
CollectionExample.output
Cartesian.java

Laboratory 1: DNA testing

We made this code so that most of it should be relatively accessible to AP students and teachers familiar with Swing.

input file
DnaComputation.java
DnaResult.java
DnaSequence.java
DnaSequenceFile.java
FileMenu.java
MainFrame.java

Tying up loose ends

LineReader.java
IOTest.java
FileManager.java
TextDumper.java

Swing basics

SqrtCalculator.java
SqrtCalculator2.java

Laboratory 2: Drawing program

Shape.java
Rectangle.java
Circle.java
Canvas.java
Tool.java
RectangleTool.java
CircleTool.java
MainFrame.java
ToolMenuItem.java
ColorMenuItem.java