JVM Languages
jqa499.txt
Associated article: Java Q&A
Tags: .NET JVM Languages
Published source code accompanying the article by Steve Ball and John Miller Crawford in which they address the issue involving Java applets which may seem to be independent programs, but aren't if you change a static field of a class used within an applet, that change pervades all applets. Steve and John examine the ins-and-outs of dealing with this particularity. Also see WEBCAD.ZIP.
Java Q&A
by Steve Ball and John Miller Crawford
Listing One
class Plane {
static int displayMode;
static double scaleFactor;
static double rotation, elevation;
}
Listing Two
class WebCAD extends Applet {
WebCAD() {
cubes[0] = new Cube(displayMode, scaleFactor, rotation,
elevation, /*other ...


