From ccd66ff77302a65cd6efa7d47d00c933877eddb5 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 22 Dec 2014 18:58:24 +0000 Subject: [PATCH] * make sure the main window is not displayed out of screen bounds --- source/net/filebot/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/filebot/Main.java b/source/net/filebot/Main.java index 765d3958..dcfc6304 100644 --- a/source/net/filebot/Main.java +++ b/source/net/filebot/Main.java @@ -228,8 +228,8 @@ public class Main { // restore previous size and location restoreWindowBounds(frame, Settings.forPackage(MainFrame.class)); } catch (Exception e) { - // just use platform default location - frame.setLocationByPlatform(true); + // make sure the main window is not displayed out of screen bounds + frame.setLocation(120, 80); } frame.addWindowListener(new WindowAdapter() {