public void mouseMoved(MouseEvent e) {}
public void mouseMoved(MouseEvent e) { if (annotationOnOff) { Iterator i = listROI.iterator(); ROIShape roi; Shape s; String txt; dragging = false; control.setAnnotation(null); while (i.hasNext()) { roi = (ROIShape) (i.next()); txt = roi.getAnnotation(); s = roi.getShape(); if (s.contains(e.getPoint())){ if (txt != null &&  txt.length() != 0) txt = roi.getLabel()+" "+txt; else txt = null; control.setAnnotation(txt); } } } }
    public void mouseMoved(MouseEvent e) {}