From db78da711d9e304f84c12e19f5c23f8a8a12643e Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 28 Apr 2006 13:42:04 +0000 Subject: [PATCH] Back to gray line --- src/jalview/gui/AnnotationPanel.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index f9ed690..a0405da 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -548,9 +548,6 @@ 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) @@ -894,6 +891,7 @@ public class AnnotationPanel extends JPanel implements MouseListener, }, 3); } else + g.setColor(Color.gray); g.fillRect(lastSSX, y + 4 + iconOffset, x - lastSSX, 7); -- 1.7.10.2