git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced image
[jalview.git]
/
src
/
jalview
/
appletgui
/
AnnotationLabels.java
diff --git
a/src/jalview/appletgui/AnnotationLabels.java
b/src/jalview/appletgui/AnnotationLabels.java
index
3ef61e6
..
8b3a503
100755
(executable)
--- a/
src/jalview/appletgui/AnnotationLabels.java
+++ b/
src/jalview/appletgui/AnnotationLabels.java
@@
-83,7
+83,7
@@
public class AnnotationLabels
}
\r
else if (evt.getActionCommand().equals(OUTPUT_TEXT))
\r
{
\r
}
\r
else if (evt.getActionCommand().equals(OUTPUT_TEXT))
\r
{
\r
- CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame.applet);
\r
+ CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame);
\r
Frame frame = new Frame();
\r
frame.add(cap);
\r
jalview.bin.JalviewLite.addFrame(frame,
\r
Frame frame = new Frame();
\r
frame.add(cap);
\r
jalview.bin.JalviewLite.addFrame(frame,
\r
@@
-159,7
+159,8
@@
public class AnnotationLabels
\r
public void drawComponent(Graphics g, int width)
\r
{
\r
\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
g.setColor(Color.white);
\r
g.fillRect(0, 0, getSize().width, getSize().height);
\r
\r