Remove paintFlag ref
authoramwaterhouse <Andrew Waterhouse>
Thu, 7 Apr 2005 13:23:00 +0000 (13:23 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 7 Apr 2005 13:23:00 +0000 (13:23 +0000)
src/jalview/gui/IdPanel.java
src/jalview/gui/SeqCanvas.java
src/jalview/gui/SeqPanel.java

index 8903ce3..07a3c55 100755 (executable)
@@ -140,7 +140,6 @@ public class IdPanel extends JPanel implements MouseListener, MouseMotionListene
     else\r
       selectSeq(seq);\r
 \r
-    alignPanel.seqPanel.seqCanvas.paintFlag=true;\r
     alignPanel.repaint();\r
     repaint();\r
   }\r
index c6ecff2..5782661 100755 (executable)
@@ -16,8 +16,6 @@ public class SeqCanvas extends JPanel
 \r
     AlignViewport     av;\r
 \r
- //   public boolean paintFlag = false;\r
-\r
     boolean showScores = false;\r
     boolean displaySearch = false;\r
     int [] searchResults = null;\r
index c39396e..3e47f4b 100755 (executable)
@@ -449,7 +449,6 @@ public class SeqPanel extends JPanel
       changeStartRes = true;\r
 \r
 \r
-    seqCanvas.paintFlag = true;\r
     repaint();\r
 \r
   }\r
@@ -470,7 +469,6 @@ public class SeqPanel extends JPanel
     if(stretchGroup.cs instanceof ClustalxColourScheme)\r
     {\r
       stretchGroup.cs = new ClustalxColourScheme(stretchGroup.sequences, av.alignment.getWidth());\r
-      seqCanvas.paintFlag = true;\r
       repaint();\r
     }\r
 \r
@@ -484,7 +482,6 @@ public class SeqPanel extends JPanel
 \r
        Desktop.setConservationSliderSource(ap, stretchGroup.cs, stretchGroup.getName()) ;\r
 \r
-       seqCanvas.paintFlag = true;\r
        repaint();\r
     }\r
     else\r