JAL-2349 JAL-3855 ContactListI.getPosition() to recover original position passed...
[jalview.git] / src / jalview / gui / AnnotationPanel.java
index 2149266..615fbdd 100755 (executable)
@@ -1101,8 +1101,8 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
         ContactGeometry.contactInterval ci = cgeom.mapFor(rowAndOffset,
                 rowAndOffset);
         ContactRange cr = clist.getRangeFor(ci.cStart, ci.cEnd);
-        tooltip = "Contact from " + ci.cStart + " to " + ci.cEnd
-                + "<br/>Mean:" + cr.getMean();
+        tooltip = "Contact from " + clist.getPosition() + ", [" + ci.cStart
+                + " - " + ci.cEnd + "]" + "<br/>Mean:" + cr.getMean();
 
         // ap.getStructureSelectionManager().mouseOverSequence(ann.sequenceRef,
         // new int[] {column, ci.cStart,ci.cEnd}, -1, null)