X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FIdPanel.java;h=e29330ebe1246918a3e57de987b7c92befdad030;hb=c3b91c81342d21498ffcb4639c3597a25aa2753c;hp=579229c06bc2d64e7881cc21e85e6e125350cc9b;hpb=fd5f6d3eed59b5f6d9a7cc09e4ddeb7e78eb2f17;p=jalview.git diff --git a/src/jalview/gui/IdPanel.java b/src/jalview/gui/IdPanel.java index 579229c..e29330e 100755 --- a/src/jalview/gui/IdPanel.java +++ b/src/jalview/gui/IdPanel.java @@ -110,10 +110,12 @@ public class IdPanel extends JPanel /* * mouse is over an annotation label in wrapped mode */ - AlignmentAnnotation annotation = av.getAlignment() - .getAlignmentAnnotation()[pos.annotationIndex]; + AlignmentAnnotation[] anns = av.getAlignment() + .getAlignmentAnnotation(); + AlignmentAnnotation annotation = anns[pos.annotationIndex]; setToolTipText(AnnotationLabels.getTooltip(annotation)); - alignPanel.alignFrame.setStatus(annotation.label); + alignPanel.alignFrame.setStatus( + AnnotationLabels.getStatusMessage(annotation, anns)); } else {