From 0c4546410c1158612118f9406b98f4fe4c33cfc9 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 5 Dec 2005 16:30:25 +0000 Subject: [PATCH] Move lastframex when frame closes --- src/jalview/bin/JalviewLite.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/bin/JalviewLite.java b/src/jalview/bin/JalviewLite.java index 6b3129d..d5801df 100755 --- a/src/jalview/bin/JalviewLite.java +++ b/src/jalview/bin/JalviewLite.java @@ -52,8 +52,6 @@ public class JalviewLite extends Applet */ public void init() { - lastFrameX = 200; - lastFrameY = 200; int r = 255; int g = 255; int b = 255; @@ -160,6 +158,8 @@ public class JalviewLite extends Applet { public void windowClosing(WindowEvent e) { + lastFrameX -=40; + lastFrameY-=40; frame.dispose(); } }); -- 1.7.10.2