Source Code Structure

Step One: Important!

To start with this lab, download the project as a zip file from here : Lab 8.

Now you may simply import the zip file as an entire project into Eclipse by going to:

File->Import->General->Existing Projects into Workspace
click "Next"


Then "Select Archive File" and Browse to and select the Lab8.zip file you've just downloaded, then hit finished

Shape Package and Classes

Now that we have our project set up, we will create an additional package for our shapes-- call this package shapes.

The shapes package will contain the following files:

Import Processing Library

Shape.java, Rectangle.java and Circle.java must all import the java processing library:
	import processing.core.*;