Put alignmentProperties in scrollpane
authoramwaterhouse <Andrew Waterhouse>
Fri, 27 Apr 2007 14:47:00 +0000 (14:47 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 27 Apr 2007 14:47:00 +0000 (14:47 +0000)
src/jalview/gui/AlignFrame.java

index 71581f6..61c6672 100755 (executable)
@@ -2321,7 +2321,8 @@ public class AlignFrame
     }
     editPane.setText(contents.toString()+"</html>");
     JInternalFrame frame = new JInternalFrame();
-    frame.getContentPane().add(editPane);
+    frame.getContentPane().add(new JScrollPane(editPane));
+
     Desktop.instance.addInternalFrame(frame,"Alignment Properties: "+getTitle(),500,400);
   }