git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0452801
)
annotation label font size change in applet.
author
jprocter
<Jim Procter>
Thu, 20 Jul 2006 17:41:32 +0000
(17:41 +0000)
committer
jprocter
<Jim Procter>
Thu, 20 Jul 2006 17:41:32 +0000
(17:41 +0000)
src/jalview/appletgui/AnnotationLabels.java
patch
|
blob
|
history
diff --git
a/src/jalview/appletgui/AnnotationLabels.java
b/src/jalview/appletgui/AnnotationLabels.java
index
ae47b72
..
8b3a503
100755
(executable)
--- a/
src/jalview/appletgui/AnnotationLabels.java
+++ b/
src/jalview/appletgui/AnnotationLabels.java
@@
-159,7
+159,8
@@
public class AnnotationLabels
\r
public void drawComponent(Graphics g, int width)
\r
{
\r
- FontMetrics fm = g.getFontMetrics(g.getFont());
\r
+ g.setFont(av.getFont());
\r
+ FontMetrics fm = g.getFontMetrics(av.getFont());
\r
g.setColor(Color.white);
\r
g.fillRect(0, 0, getSize().width, getSize().height);
\r
\r