Back to gray line
authoramwaterhouse <Andrew Waterhouse>
Fri, 28 Apr 2006 13:42:04 +0000 (13:42 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 28 Apr 2006 13:42:04 +0000 (13:42 +0000)
src/jalview/gui/AnnotationPanel.java

index f9ed690..a0405da 100755 (executable)
@@ -548,9 +548,6 @@ public class AnnotationPanel extends JPanel implements MouseListener,
      */\r
     public void paintComponent(Graphics g)\r
     {\r
-      g.setColor(Color.white);\r
-      g.fillRect(0, 0, getWidth(), getHeight());\r
-\r
       if(image!=null)\r
       {if (fastPaint\r
             || (getVisibleRect().width != g.getClipBounds().width)\r
@@ -894,6 +891,7 @@ public class AnnotationPanel extends JPanel implements MouseListener,
                       }, 3);\r
                     }\r
                     else\r
+                      g.setColor(Color.gray);\r
                       g.fillRect(lastSSX, y + 4 + iconOffset,\r
                                  x - lastSSX, 7);\r
 \r