Instantiating SplashScreenHelper in main() was leaving it null for the tests. Fixed

This commit is contained in:
Federico Fissore 2015-03-13 11:35:37 +01:00
parent 38f868af5b
commit dba808c3dc
1 changed files with 1 additions and 3 deletions

View File

@ -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();