X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FPaintRefresher.java;fp=src%2Fjalview%2Fappletgui%2FPaintRefresher.java;h=9d6eba50cf481449a29d8758d2b97df3de1065b2;hb=b57a02c25e335d033c97f8a6bacd6b54f62bd2b6;hp=4e1bfaf2c86649ade08baeeefc98fac3194c6635;hpb=1cc81e06ac2faa5ee4b8879e9fa019956e34259f;p=jalview.git diff --git a/src/jalview/appletgui/PaintRefresher.java b/src/jalview/appletgui/PaintRefresher.java index 4e1bfaf..9d6eba5 100755 --- a/src/jalview/appletgui/PaintRefresher.java +++ b/src/jalview/appletgui/PaintRefresher.java @@ -26,7 +26,7 @@ import jalview.datamodel.*; /** * DOCUMENT ME! - * + * * @author $author$ * @version $Revision$ */ @@ -36,7 +36,7 @@ public class PaintRefresher /** * DOCUMENT ME! - * + * * @param comp * DOCUMENT ME! * @param al @@ -184,9 +184,11 @@ public class PaintRefresher { if (i < comp.getHeight()) { - // TODO: the following does not trigger any recalculation of height/etc, or maintain the dataset + // TODO: the following does not trigger any recalculation of + // height/etc, or maintain the dataset List alsq; - synchronized (alsq=comp.getSequences()) { + synchronized (alsq = comp.getSequences()) + { alsq.add(i, a1[i]); } } @@ -244,7 +246,8 @@ public class PaintRefresher } } AlignmentPanel[] result = new AlignmentPanel[tmp.size()]; - for (int ix=0;ix