Move lastframex when frame closes
authoramwaterhouse <Andrew Waterhouse>
Mon, 5 Dec 2005 16:30:25 +0000 (16:30 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 5 Dec 2005 16:30:25 +0000 (16:30 +0000)
src/jalview/bin/JalviewLite.java

index 6b3129d..d5801df 100755 (executable)
@@ -52,8 +52,6 @@ public class JalviewLite extends Applet
      */\r
     public void init()\r
     {\r
-      lastFrameX = 200;\r
-      lastFrameY = 200;\r
         int r = 255;\r
         int g = 255;\r
         int b = 255;\r
@@ -160,6 +158,8 @@ public class JalviewLite extends Applet
             {\r
                 public void windowClosing(WindowEvent e)\r
                 {\r
+                    lastFrameX -=40;\r
+                    lastFrameY-=40;\r
                     frame.dispose();\r
                 }\r
             });\r