[jaxx] branch develop updated (010bcab -> 8f4539a)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository jaxx. See http://git.nuiton.org/jaxx.git from 010bcab fixes #3526 : fix update color new 8f4539a fix splashscren position in dual screen The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 8f4539a702d57b39dce673b8818c4bf5d64f8608 Author: Kevin Morin <morin@codelutin.com> Date: Thu Oct 2 16:54:52 2014 +0200 fix splashscren position in dual screen Summary of changes: .../src/main/java/org/nuiton/jaxx/widgets/extra/SplashScreen.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository jaxx. See http://git.nuiton.org/jaxx.git commit 8f4539a702d57b39dce673b8818c4bf5d64f8608 Author: Kevin Morin <morin@codelutin.com> Date: Thu Oct 2 16:54:52 2014 +0200 fix splashscren position in dual screen --- .../src/main/java/org/nuiton/jaxx/widgets/extra/SplashScreen.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jaxx-widgets-extra/src/main/java/org/nuiton/jaxx/widgets/extra/SplashScreen.java b/jaxx-widgets-extra/src/main/java/org/nuiton/jaxx/widgets/extra/SplashScreen.java index 6adb627..1e94c3d 100644 --- a/jaxx-widgets-extra/src/main/java/org/nuiton/jaxx/widgets/extra/SplashScreen.java +++ b/jaxx-widgets-extra/src/main/java/org/nuiton/jaxx/widgets/extra/SplashScreen.java @@ -342,8 +342,8 @@ public class SplashScreen extends JFrame { * specified width and height */ protected void positionAtCenter(int width, int height) { - Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); - setBounds((screenSize.width - width) / 2, (screenSize.height - height) / 2, width, height); + setBounds(0, 0, width, height); + setLocationRelativeTo(null); } protected void initializeUI() { -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm