Download the library.zip
file to your computer. (This zip file contains the two compiled java
files (or .class
) filesthe Board
and
Coordinate
classes that you've seen used in lecture.) Extract
the files to your cs133
folder on your computer (this should
create a library
folder within the cs133
folder).
In DrJava, in the Edit menu choose Preferences. Under the Extra
Classpath field, click the Add button. Navigate to
C:\cs133\library
(or wherever you extracted the zip file
to) and click Select. Click Apply and then Click OK. And that's it!
You should now be able to use the Board
and
Coordinate
classes at home.