Force locale, for now
[sw/motorsim] / gui / MotorSim.java
index 3352311b7aaaca0dbe0a32d402a6cc7d682613b8..2fe51ceb234b40301648fd7c7964adfdb064dfea 100644 (file)
@@ -1,3 +1,5 @@
+import java.util.Locale;
+
 import javax.swing.SwingUtilities;
 import javax.swing.UIManager;
 
@@ -6,6 +8,7 @@ import com.billkuker.rocketry.motorsim.visual.workbench.MotorWorkbench;
 public class MotorSim {
 
        public static void main(String args[]) throws Exception {
+               Locale.setDefault(Locale.ENGLISH);
 
                try {
                        System.setProperty("apple.laf.useScreenMenuBar", "true");
@@ -16,9 +19,9 @@ public class MotorSim {
                } catch (Exception e1) {
                        e1.printStackTrace();
                }
-               SplashWindow3 sw = new SplashWindow3("splash.png",null, 4000);
+               new Splash("splash.png",null, 2000);
                final MotorWorkbench mw = new com.billkuker.rocketry.motorsim.visual.workbench.MotorWorkbench();
-               Thread.sleep(4000);
+               Thread.sleep(2000);
                SwingUtilities.invokeLater(new Runnable(){
                        @Override
                        public void run() {