X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FIdCanvas.java;h=97730191def5251c84a5dac291a872a995deae1a;hb=dced869b5a728ef726f85893b0b0a6a7be75ec48;hp=a277adbd8d5f45f7e9f8e1da5a1eab76369cd67a;hpb=f24dacb1da56fccf05d684e2f4899facec2aecf7;p=jalview.git diff --git a/src/jalview/appletgui/IdCanvas.java b/src/jalview/appletgui/IdCanvas.java index a277adb..9773019 100755 --- a/src/jalview/appletgui/IdCanvas.java +++ b/src/jalview/appletgui/IdCanvas.java @@ -74,13 +74,8 @@ public class IdCanvas gg.setColor(Color.black); } - String string = s.getName(); - if (av.getShowFullId()) - { - string = s.getDisplayId(); - } - gg.drawString(string, 0, + gg.drawString( s.getDisplayId(av.getShowJVSuffix()), 0, ((i - starty) * charHeight) + ypos + charHeight - (charHeight / 5)); @@ -260,12 +255,9 @@ public class IdCanvas av.charHeight); gg.setColor(currentTextColor); - String string = av.alignment.getSequenceAt(i).getName(); - if (av.getShowFullId()) - { - string = av.alignment.getSequenceAt(i).getDisplayId(); - } - gg.drawString(string, 0, + + gg.drawString(av.alignment.getSequenceAt(i) + .getDisplayId(av.getShowJVSuffix()), 0, ((i - starty) * av.charHeight) + av.charHeight - (av.charHeight / 5)); }