1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

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

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