From 68f80b29692e350741daddb4a69d630af923b4c3 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 28 Apr 2006 13:45:40 +0000 Subject: [PATCH] Back to gray line --- src/jalview/gui/AnnotationPanel.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index a0405da..8ee0729 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -548,6 +548,9 @@ public class AnnotationPanel extends JPanel implements MouseListener, */ public void paintComponent(Graphics g) { + g.setColor(Color.white); + g.fillRect(0, 0, getWidth(), getHeight()); + if(image!=null) {if (fastPaint || (getVisibleRect().width != g.getClipBounds().width) @@ -891,7 +894,6 @@ public class AnnotationPanel extends JPanel implements MouseListener, }, 3); } else - g.setColor(Color.gray); g.fillRect(lastSSX, y + 4 + iconOffset, x - lastSSX, 7); @@ -899,7 +901,7 @@ public class AnnotationPanel extends JPanel implements MouseListener, default: - g.setColor(Color.ORANGE); + g.setColor(Color.gray); if(!av.wrapAlignment || endRes==av.endRes) g.fillRect(lastSSX, y + 6 + iconOffset, x - lastSSX, 2); -- 1.7.10.2