From: amwaterhouse Date: Fri, 20 May 2005 13:29:06 +0000 (+0000) Subject: scroller is now a panel X-Git-Tag: Release_2_0~252 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f734502d2523df2ebd6b2a34505d79e5a592bc9b;p=jalview.git scroller is now a panel --- diff --git a/src/jalview/jbappletgui/GAlignmentPanel.java b/src/jalview/jbappletgui/GAlignmentPanel.java index 6a3ed74..4825e29 100755 --- a/src/jalview/jbappletgui/GAlignmentPanel.java +++ b/src/jalview/jbappletgui/GAlignmentPanel.java @@ -29,8 +29,9 @@ public class GAlignmentPanel extends Panel BorderLayout borderLayout10 = new BorderLayout(); protected Panel hscrollFillerPanel = new Panel(); BorderLayout borderLayout11 = new BorderLayout(); - public ScrollPane annotationScroller = new ScrollPane( ScrollPane.SCROLLBARS_NEVER ); + public Panel annotationScroller = new Panel(); BorderLayout borderLayout4 = new BorderLayout(); + BorderLayout borderLayout2 = new BorderLayout(); public GAlignmentPanel() { @@ -69,6 +70,7 @@ public class GAlignmentPanel extends Panel // this.setPreferredSize(new Dimension(220, 166)); seqPanelHolder.setBackground(Color.white); idPanelHolder.setBackground(Color.white); + annotationScroller.setLayout(borderLayout2); sequenceHolderPanel.add(scalePanelHolder, BorderLayout.NORTH); sequenceHolderPanel.add(seqPanelHolder, BorderLayout.CENTER); seqPanelHolder.add(vscroll, BorderLayout.EAST);