From: Jim Procter Date: Tue, 21 Oct 2014 11:06:08 +0000 (+0100) Subject: JAL-1551 reinstate missing import X-Git-Tag: Jalview_2_9~169^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=044474c2d4d044de3f4590f170db8d856cccc488;p=jalview.git JAL-1551 reinstate missing import --- 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;