updates for 0.9.4
[debian/openrocket] / src / net / sf / openrocket / gui / adaptors / DoubleModel.java
index f2125b630162f012ee6398fc4f0d8f1a1dc6367e..b39cb0104de62fb78ec5071aceb8358f65aedcdb 100644 (file)
@@ -37,6 +37,8 @@ import net.sf.openrocket.util.MathUtil;
 
 public class DoubleModel implements ChangeListener, ChangeSource {
        private static final boolean DEBUG_LISTENERS = false;
+       
+       public static final DoubleModel ZERO = new DoubleModel(0);
 
        //////////// JSpinner Model ////////////
        
@@ -706,7 +708,7 @@ public class DoubleModel implements ChangeListener, ChangeSource {
        
        
        /**
-        * Add a listener to the model.  Adds the model as a listener to the Component if this
+        * Add a listener to the model.  Adds the model as a listener to the value source if this
         * is the first listener.
         * @param l Listener to add.
         */