comment re JAL-153
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 7 Jul 2011 10:27:37 +0000 (11:27 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 7 Jul 2011 10:27:37 +0000 (11:27 +0100)
src/jalview/gui/Desktop.java

index db2dbf2..03b2005 100644 (file)
@@ -232,9 +232,13 @@ public class Desktop extends jalview.jbgui.GDesktop implements
     showMemusage.setSelected(selmemusage);
     desktop.setBackground(Color.white);
     getContentPane().setLayout(new BorderLayout());
+    // alternate config - have scrollbars - see notes in JAL-153
+    //JScrollPane sp = new JScrollPane();
+    //sp.getViewport().setView(desktop);
+    //getContentPane().add(sp, BorderLayout.CENTER);
     getContentPane().add(desktop, BorderLayout.CENTER);
-    desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
-
+      desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
+      
     // This line prevents Windows Look&Feel resizing all new windows to maximum
     // if previous window was maximised
     desktop.setDesktopManager(new MyDesktopManager(