setMaximizable(false)
authoramwaterhouse <Andrew Waterhouse>
Fri, 1 Apr 2005 16:41:50 +0000 (16:41 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 1 Apr 2005 16:41:50 +0000 (16:41 +0000)
src/jalview/gui/Desktop.java

index 336cdd3..6dca15b 100755 (executable)
@@ -47,7 +47,7 @@ public class Desktop extends jalview.jbgui.GDesktop implements DropTargetListene
     setTitle("Jalview 2005");\r
     setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r
     desktop = new JDesktopPane();\r
-    desktop.setBackground(Color.white);\r
+   // desktop.setBackground(Color.white);\r
     setContentPane(desktop);\r
     desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);\r
 \r
@@ -328,6 +328,7 @@ this.setDropTarget(new java.awt.dnd.DropTarget(desktop, this));
      conservationSlider.setContentPane(sp);\r
      addInternalFrame(conservationSlider, "Conservation Colour Increment  ("+source+")", 420, 90);\r
      conservationSlider.setResizable(false);\r
+     conservationSlider.setMaximizable(false);\r
      conservationSlider.addInternalFrameListener(new javax.swing.event.InternalFrameAdapter()\r
                   {\r
                     public void internalFrameClosed(javax.swing.event.InternalFrameEvent e)\r
@@ -381,6 +382,7 @@ this.setDropTarget(new java.awt.dnd.DropTarget(desktop, this));
      PIDSlider.setContentPane(pid);\r
      addInternalFrame(PIDSlider, "Percentage Identity Threshold ("+source+")", 420, 90);\r
      PIDSlider.setResizable(false);\r
+     PIDSlider.setMaximizable(false);\r
    }\r
    else\r
    {\r