Clazz.declarePackage ("jalview.appletgui");
-Clazz.load (["awt2swing.Panel"], "jalview.appletgui.IdCanvas", ["jalview.appletgui.AnnotationLabels", "$.AnnotationPanel", "$.PaintRefresher", "java.awt.Color", "$.Font"], function () {
+Clazz.load (["awt2swing.Panel"], "jalview.appletgui.IdCanvas", ["awt2swing.Util", "jalview.appletgui.AnnotationLabels", "$.AnnotationPanel", "$.PaintRefresher", "java.awt.Color", "$.Font"], function () {
c$ = Clazz.decorateAsClass (function () {
this.av = null;
this.showScores = true;
gg.setColor (this.av.getSequenceColour (s));
gg.fillRect (0, ((i - starty) * charHeight) + ypos, this.getSize ().width, charHeight);
gg.setColor (java.awt.Color.black);
-}gg.drawString (s.getDisplayId (this.av.getShowJVSuffix ()), 0, ((i - starty) * charHeight) + ypos + charHeight - (Clazz.doubleToInt (charHeight / 5)));
+}awt2swing.Util.drawString (gg, s.getDisplayId (this.av.getShowJVSuffix ()), 0, ((i - starty) * charHeight) + ypos + charHeight - (Clazz.doubleToInt (charHeight / 5)));
if (hiddenRows) {
this.drawMarker (i, starty, ypos);
}}, "java.awt.Graphics,~B,jalview.datamodel.SequenceI,~N,~N,~N");
}this.gg.setColor (currentColor);
this.gg.fillRect (0, (i - starty) * this.avcharHeight, this.getSize ().width, this.avcharHeight);
this.gg.setColor (currentTextColor);
-this.gg.drawString (seq.getDisplayId (this.av.getShowJVSuffix ()), 0, (((i - starty) * this.avcharHeight) + this.avcharHeight) - (Clazz.doubleToInt (this.avcharHeight / 5)));
+awt2swing.Util.drawString (this.gg, seq.getDisplayId (this.av.getShowJVSuffix ()), 0, (((i - starty) * this.avcharHeight) + this.avcharHeight) - (Clazz.doubleToInt (this.avcharHeight / 5)));
if (hiddenRows) {
this.drawMarker (i, starty, 0);
}}