changeset 4285:b7b513716078

Ensemble: Fix for RT-31636 Some Ensemble samples don't start in standalone mode
author Alexander Kouznetsov
date Sat, 13 Jul 2013 17:12:59 -0700
parents ddbfe8ed6e7b
children d60fdc098748
files apps/samples/Ensemble8/src/samples/java/ensemble/samples/animation/transitions/fadetransition/FadeTransitionApp.java apps/samples/Ensemble8/src/samples/java/ensemble/samples/canvas/fireworks/FireworksApp.java apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics/digitalclock/DigitalClockApp.java apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics3d/cube/CubeApp.java apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics3d/cubesystem/CubeSystemApp.java apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics3d/xylophone/XylophoneApp.java
diffstat 6 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/apps/samples/Ensemble8/src/samples/java/ensemble/samples/animation/transitions/fadetransition/FadeTransitionApp.java	Fri Jul 12 19:17:15 2013 -0700
+++ b/apps/samples/Ensemble8/src/samples/java/ensemble/samples/animation/transitions/fadetransition/FadeTransitionApp.java	Sat Jul 13 17:12:59 2013 -0700
@@ -103,6 +103,7 @@
         primaryStage.setResizable(false);
         primaryStage.setScene(new Scene(createContent()));
         primaryStage.show();
+        play();
     }
 
     /**
--- a/apps/samples/Ensemble8/src/samples/java/ensemble/samples/canvas/fireworks/FireworksApp.java	Fri Jul 12 19:17:15 2013 -0700
+++ b/apps/samples/Ensemble8/src/samples/java/ensemble/samples/canvas/fireworks/FireworksApp.java	Sat Jul 13 17:12:59 2013 -0700
@@ -74,6 +74,7 @@
         primaryStage.setResizable(false);
         primaryStage.setScene(new Scene(createContent()));
         primaryStage.show();
+        play();
     }
 
     /**
--- a/apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics/digitalclock/DigitalClockApp.java	Fri Jul 12 19:17:15 2013 -0700
+++ b/apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics/digitalclock/DigitalClockApp.java	Sat Jul 13 17:12:59 2013 -0700
@@ -82,6 +82,7 @@
         primaryStage.setResizable(false);
         primaryStage.setScene(new Scene(createContent()));
         primaryStage.show();
+        play();
     }
 
     /**
--- a/apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics3d/cube/CubeApp.java	Fri Jul 12 19:17:15 2013 -0700
+++ b/apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics3d/cube/CubeApp.java	Sat Jul 13 17:12:59 2013 -0700
@@ -101,7 +101,7 @@
     public void start(Stage primaryStage) throws Exception {
         primaryStage.setScene(new Scene(createContent()));
         primaryStage.show();
-        animation.play();
+        play();
     }
 
     /**
--- a/apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics3d/cubesystem/CubeSystemApp.java	Fri Jul 12 19:17:15 2013 -0700
+++ b/apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics3d/cubesystem/CubeSystemApp.java	Sat Jul 13 17:12:59 2013 -0700
@@ -227,7 +227,7 @@
     public void start(Stage primaryStage) throws Exception {
         primaryStage.setScene(new Scene(createContent()));
         primaryStage.show();
-        animation.play();
+        play();
     }
 
     /**
--- a/apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics3d/xylophone/XylophoneApp.java	Fri Jul 12 19:17:15 2013 -0700
+++ b/apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics3d/xylophone/XylophoneApp.java	Sat Jul 13 17:12:59 2013 -0700
@@ -277,8 +277,7 @@
     public void start(Stage primaryStage) throws Exception {
         primaryStage.setScene(new Scene(createContent()));
         primaryStage.show();
-        animation.play();
-        animation2.play();
+        play();
     }
 
     /**