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
(parent:
e248608
)
JAL-1551 reinstate missing import
author
Jim Procter
<j.procter@dundee.ac.uk>
Tue, 21 Oct 2014 11:06:08 +0000
(12:06 +0100)
committer
Jim Procter
<j.procter@dundee.ac.uk>
Tue, 21 Oct 2014 11:06:08 +0000
(12:06 +0100)
src/jalview/gui/AnnotationLabels.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
0c29840
..
7483c42
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-47,6
+47,7
@@
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
+import java.util.Arrays;
import java.util.Vector;
import java.util.regex.Pattern;
@@
-497,7
+498,9
@@
public class AnnotationLabels extends JPanel implements MouseListener,
this.setToolTipText(desc.toString());
}
else
+ {
this.setToolTipText(null);
+ }
}
}
@@
-1028,7
+1031,9
@@
public class AnnotationLabels extends JPanel implements MouseListener,
offset -= fm.getDescent();
}
else
+ {
offset += fm.getDescent();
+ }
x = width - fm.stringWidth(aa[i].label) - 3;