From: amwaterhouse Date: Tue, 15 Mar 2005 17:10:46 +0000 (+0000) Subject: Saves screen size on exit X-Git-Tag: Release_2_0~590 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5bb2f3d37e51bda1608f0bf21795531e3aeb6aba;p=jalview.git Saves screen size on exit --- 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()