]> git.gag.com Git - sw/motorsim/commitdiff
Call right show function
authorBill Kuker <bkuker@billkuker.com>
Mon, 20 Apr 2009 20:47:21 +0000 (20:47 +0000)
committerBill Kuker <bkuker@billkuker.com>
Mon, 20 Apr 2009 20:47:21 +0000 (20:47 +0000)
src/com/billkuker/rocketry/motorsim/grain/CoredCylindricalGrain.java
src/com/billkuker/rocketry/motorsim/grain/ExtrudedShapeGrain.java
src/com/billkuker/rocketry/motorsim/grain/RodAndTubeGrain.java
src/com/billkuker/rocketry/motorsim/grain/RotatedShapeGrain.java

index 21730589b9f5e60a6c5335e7660bfafc04eda73d..a505ef277a7cb28ea68b436f1deb2eb99de72a85 100644 (file)
@@ -261,7 +261,7 @@ public class CoredCylindricalGrain extends ExtrudedGrain implements MotorPart.Va
 \r
        public static void main(String args[]) throws Exception {\r
                CoredCylindricalGrain e = DEFAULT_GRAIN;\r
-               new Editor(e).show();\r
+               new Editor(e).showAsWindow();\r
                new GrainPanel(e).showAsWindow();\r
        }\r
 \r
index 179a06495b81079c7cbb3fc09eaf639b12495e9e..36d95ff911ec1d89d792dda2fb88f0cd12da41c6 100644 (file)
@@ -165,7 +165,7 @@ public class ExtrudedShapeGrain extends MotorPart implements Grain {
        \r
        public static void main(String args[]) throws Exception {\r
                ExtrudedShapeGrain e = DEFAULT_GRAIN;\r
-               new Editor(e).show();\r
+               new Editor(e).showAsWindow();\r
                new GrainPanel(e).showAsWindow();\r
        }\r
 \r
index 7070ef613342cbc3c4bb0876b039a5b9e2dda57f..2c650c8a4b9a2cfae9d293b393a85aad959727e9 100644 (file)
@@ -101,7 +101,7 @@ public class RodAndTubeGrain extends CompoundGrain {
 \r
        public static void main(String args[]) throws Exception {\r
                Grain g = DEFAULT_GRAIN;\r
-               new Editor(g).show();\r
+               new Editor(g).showAsWindow();\r
                new GrainPanel(g).showAsWindow();\r
        }\r
 }\r
index 6b7ef0d6df4a5f1d055d19e67bb7eb925dc7974c..adab40c732fcac5d5814e885c0f2a1d805d2fb9e 100644 (file)
@@ -248,7 +248,7 @@ public class RotatedShapeGrain implements Grain {
 \r
        public static void main(String args[]) throws Exception {\r
                RotatedShapeGrain e = DEFAULT_GRAIN;\r
-               new Editor(e).show();\r
+               new Editor(e).showAsWindow();\r
                new GrainPanel(e).showAsWindow();\r
        }\r
        \r