git://source.jalview.org
/
jalviewjs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1807 - Bob's last(?) before leaving Dundee -- adds fast file loading
[jalviewjs.git]
/
src
/
jalview
/
appletgui
/
IdCanvas.java
diff --git
a/src/jalview/appletgui/IdCanvas.java
b/src/jalview/appletgui/IdCanvas.java
index
a045541
..
0e142ae
100644
(file)
--- a/
src/jalview/appletgui/IdCanvas.java
+++ b/
src/jalview/appletgui/IdCanvas.java
@@
-85,7
+85,7
@@
public class IdCanvas extends Panel
gg.setColor(Color.black);
}
gg.setColor(Color.black);
}
- gg.drawString(s.getDisplayId(av.getShowJVSuffix()), 0,
+ awt2swing.Util.drawString(gg, s.getDisplayId(av.getShowJVSuffix()), 0,
((i - starty) * charHeight) + ypos + charHeight
- (charHeight / 5));
((i - starty) * charHeight) + ypos + charHeight
- (charHeight / 5));
@@
-297,7
+297,7
@@
public class IdCanvas extends Panel
avcharHeight);
gg.setColor(currentTextColor);
avcharHeight);
gg.setColor(currentTextColor);
- gg.drawString(seq.getDisplayId(av.getShowJVSuffix()), 0,
+ awt2swing.Util.drawString(gg, seq.getDisplayId(av.getShowJVSuffix()), 0,
(((i - starty) * avcharHeight) + avcharHeight)
- (avcharHeight / 5));
(((i - starty) * avcharHeight) + avcharHeight)
- (avcharHeight / 5));