From 044474c2d4d044de3f4590f170db8d856cccc488 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 21 Oct 2014 12:06:08 +0100 Subject: [PATCH] JAL-1551 reinstate missing import --- src/jalview/gui/AnnotationLabels.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index 0c29840..7483c42 100755 --- 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; -- 1.7.10.2