From: amwaterhouse Date: Fri, 28 Apr 2006 13:42:04 +0000 (+0000) Subject: Back to gray line X-Git-Tag: Release_2_08_1~24 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=db78da711d9e304f84c12e19f5c23f8a8a12643e;p=jalview.git Back to gray line --- 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);