*/
package jalview.schemes;
+import java.awt.Color;
+import java.util.List;
+import java.util.Map;
+
import jalview.api.AlignViewportI;
import jalview.datamodel.AnnotatedCollectionI;
import jalview.datamodel.SequenceCollectionI;
import jalview.datamodel.SequenceI;
import jalview.util.Comparison;
-import java.awt.Color;
-import java.util.List;
-import java.util.Map;
-
public class ClustalxColourScheme extends ResidueColourScheme
{
private static final int EIGHTY_FIVE = 85;
}
@Override
- public void alignmentChanged(AnnotatedCollectionI alignment,
+ public synchronized void alignmentChanged(AnnotatedCollectionI alignment,
Map<SequenceI, SequenceCollectionI> hiddenReps)
{
int maxWidth = alignment.getWidth();
}
@Override
- protected Color findColour(char c, int j, SequenceI seq)
+ protected synchronized Color findColour(char c, int j, SequenceI seq)
{
// TODO why the test for includeGaps here?
if (cons2.length <= j || Comparison.isGap(c)