Recitation Material


How to set up a project

How to submit your assignments/recitations

Grading rubrics for assignments


December 3, 2010

Undo

You must work with a single partner; implement the program described in the slides, and submit your work by the time the recitation is over.
The set of slides explaining the recitation exercise can be downloaded here: Recitation 13

Recitation13.java
ALineEditor.java
ALine.java
APoint.java
Line.java
LineEditor.java
Point.java
ASetWidthCommand.java
ASetHeightCommand.java
Command.java
Undoer.java
ACommandUndoer.java


November 19, 2010

Animation

You must work with a single partner; implement the program described in the slides, and submit your work by the time the recitation is over.
The set of slides explaining the recitation exercise can be downloaded here: Recitation 12

Recitation12.java
ALineEditor.java
ALine.java
APoint.java
Line.java
LineEditor.java
Point.java
ASetWidthCommand.java
ASetHeightCommand.java


November 12, 2010

Observers

You must work with a single partner; implement the program described in the slides, and submit your work by the time the recitation is over.
The set of slides explaining the recitation exercise can be downloaded here: Recitation 11

Recitation11.java
ALineEditor.java
ALine.java
APoint.java
Line.java
LineEditor.java
Point.java

Quiz Slides


November 5, 2010

Generics

You must work with a single partner; implement the program described in the slides, and submit your work by the time the recitation is over.
The set of slides explaining the recitation exercise can be downloaded here: Recitation 10

Recitation10.java
StringHistory.java
AbstractStringHistory.java
ArrayListStringHistory.java
VectorStringHistory.java


October 29, 2010

Abstract classes and Collections

The set of slides explaining the recitation exercise can be downloaded here: Recitation 9

StringHistory.java
ArrayListStringHistory.java
VectorStringHistory.java


October 15, 2010

Overriding and Overloading Methods

The set of slides explaining the recitation exercise can be downloaded here: Recitation 8


October 8, 2010

Inheritance

The set of slides explaining the recitation exercise can be downloaded here: Recitation 7


October 1, 2010

Variable-Sized Collections

The set of slides explaining the recitation exercise can be downloaded here: Recitation 6


September 24, 2010

Graphics objects

The set of slides explaining the recitation exercise can be downloaded here: Recitation 5


September 17, 2010

Implementing Interfaces and Constructors

The set of slides explaining the recitation exercise can be downloaded here: Recitation 4


September 10, 2010

Manipulating properties of a class using ObjectEditor: Keeping state to find uppercase characters

The set of slides explaining the recitation exercise can be downloaded here: Recitation 3


September 3, 2010

Using ObjectEditor to Invoke Methods

The set of slides explaining the recitation exercise can be downloaded here: Recitation 2


August 27, 2010

Part 1: Download Eclipse and the ObjectEditor package
Eclipse IDE for Java Developer (Windows)
Eclipse IDE for Java Developer (Mac OS X)
ObjectEditor package
You may also need the JDK (Java Development Kit) to run Eclipse.

Local JDK downloads: here.

Part 2: Setup Java Programming Environment (Slides)
Start to get your hands dirty with Eclipse! Eclipse provides a user-friendly interface for various programming languages. This part will go through the installation/setup process step by step. In addition, the debugging and packaging tools are introduced in this section.

Part 3: Problem PDF
Write a Java application that prints the first argument provided in the main method. Your application should only print out this argument if there is one and only one argument. If there are more or less arguments, it should write a message to the user notifying them of the illegal number of arguments. You can use the ASafeArgPrinter code from the class slides, or even better, try and write it from scratch.