Java Exercise 3

Description:

Java applet using abstract classes, inheritance, animation, and parameter passing.

The following java applets utilize parameters passed by the HTML source code.
Choose "view document source" or the like in your browser to see the innerworkings.
Available attributes: choice of plot function, line color

The plots have a base class ( Source text ) which they inherit from.
The animated plot utilizes double buffering to avoid jerkiness.

Source text

Source text

Note: From Exercise 9

Since exercise 9, the Base plot class and inherited plots are now part of a package.
PlotPackage
The source code for these are ...
BasePlot.java
Plot1.java
Plot2.java
Plot3.java
Plot4.java


Back to Physics Simulation Personal Course Page