From 5bb2f3d37e51bda1608f0bf21795531e3aeb6aba Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 15 Mar 2005 17:10:46 +0000 Subject: [PATCH] Saves screen size on exit --- src/jalview/gui/Desktop.java | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 3b13016..bfbdc1d 100755 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -49,16 +49,36 @@ public class Desktop extends jalview.jbgui.GDesktop desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); - int width = 900, height = 650; - if(screenSize.getWidth()