From dba808c3dcd0f4aab41161b31ab91b4d7e485123 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Fri, 13 Mar 2015 11:35:37 +0100 Subject: [PATCH] Instantiating SplashScreenHelper in main() was leaving it null for the tests. Fixed --- app/src/processing/app/Base.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index ad5705838..d136277a5 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -57,7 +57,7 @@ import static processing.app.I18n._; public class Base { static private boolean commandLine; - public static SplashScreenHelper splashScreenHelper; + public static SplashScreenHelper splashScreenHelper = new SplashScreenHelper(SplashScreen.getSplashScreen()); // A single instance of the preferences window Preferences preferencesFrame; @@ -89,8 +89,6 @@ public class Base { System.setProperty("awt.useSystemAAFontSettings", "on"); System.setProperty("swing.aatext", "true"); - splashScreenHelper = new SplashScreenHelper(SplashScreen.getSplashScreen()); - BaseNoGui.initLogger(); BaseNoGui.notifier = new GUIUserNotifier();