diff --git a/platform/core.startup/src/org/netbeans/core/startup/Splash.java b/platform/core.startup/src/org/netbeans/core/startup/Splash.java index 1338029986e6..f5157106e03b 100644 --- a/platform/core.startup/src/org/netbeans/core/startup/Splash.java +++ b/platform/core.startup/src/org/netbeans/core/startup/Splash.java @@ -158,7 +158,10 @@ public void setRunning(boolean running) { if (running) { if (frame == null) { - frame = new Frame(NbBundle.getMessage(Splash.class, "LBL_splash_window_title")); // e.g. for window tray display + PointerInfo pointerInfo = MouseInfo.getPointerInfo(); + GraphicsDevice gd = pointerInfo == null ? GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice() : pointerInfo.getDevice(); + GraphicsConfiguration gc = gd.getDefaultConfiguration(); + frame = new Frame(NbBundle.getMessage(Splash.class, "LBL_splash_window_title"), gc); // e.g. for window tray display //#215320 frame.setType(Window.Type.POPUP); initFrameIcons(frame); // again, only for possible window tray display