From: amwaterhouse Date: Mon, 5 Dec 2005 16:30:25 +0000 (+0000) Subject: Move lastframex when frame closes X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0c4546410c1158612118f9406b98f4fe4c33cfc9;p=jalview.git Move lastframex when frame closes --- 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(); } });