Classes to Download
File | Description | Javadocs |
Applet1.java | The applet that
introduces the Vehicle. Similar to Applet2 and Applet3 and the only one that is fully documented. |
yes |
Applet2.java | The applet that introduces the Car and Boat.
See Applet1 for documentation. | no |
Applet3.java | The applet that
introduces the Ferry and shows the Vehicle heirarchy. See Applet1 for documentation. |
no |
Applet4.java | The applet that introduces the concept of using superclass
variables to reference subclasses. | yes |
Boat.java | The Boat class. |
yes |
Bunny.java | The Bunny class from programming question 4(c). |
yes |
Car.java | The Car class. |
yes |
Craps.java | Craps as a JApplet. |
no |
CrapsApp.java | Craps as an application. |
yes |
Definitions.java | The first
applet that helps explain the definitions in the Terminology section. It explains the Fraction
class. |
no |
Definitions2.java | Similar
to Definitions. It explains MixedFraction. |
no |
Definitions3.java | Similar
to Definitions. It explains MyJFrame. |
no |
Ex1.java | The solution to programming
question 1. |
no |
Ex2.java | The solution to programming
question 2. |
no |
Face.java | The
Face class from programming question 4(a). |
yes |
Ferry.java | The Ferry class. |
yes |
Fraction.java | The Fraction
class explained by Definitions. |
no |
HappyFace.java | The
HappyFace class from programming question 4(b). |
yes |
MixedFraction.java | The
MixedFraction class explained by Definitions2. |
no |
MixedFractionWithout.java | The
class that shows how inheritance cuts down on the work for the MixedFraction class. |
no |
MyDate.java | Used to
work with dates in a Java program. It inherits from the built in GregorianCalendar class.
I find my get methods easier to remember than the ones built in. Also it has a method for
finding the number of days between two dates. I don't use that method in this resource but its
been handy in other programs I've written. |
no |
MyJFrame.java | Demonstrates
inheriting from a JFrame. |
yes |
MyJPanel.java | Demonstrates
inheriting from a JPanel. This is actually the one used in Craps. |
yes |
RemoteControl2.java | Used to
provide direct access to various parts of the resource. The purple panel on the left of the
navigation version of the resource. |
no |
SimpleApplet1.java | A
simple applet showing how to use a Vehicle. |
no |
SimpleApplet2.java | A
simple applet showing how to use a Car and a Boat. |
no |
SimpleApplet3.java | A
simple applet showing how to use a Ferry. |
no |
SourceViewer.java | Used by
any of the applets that pop up windows to display source code. |
no |
Vehicle.java | The Vehicle class. |
yes |