/** @deprecated replaced by ImagePlus.setOverlay(ij.gui.Overlay) */
 public void setDisplayList(Vector list) {
   if (list != null) {
     Overlay list2 = new Overlay();
     list2.setVector(list);
     setOverlay(list2);
   } else setOverlay(null);
   if (overlay != null)
     overlay.drawLabels(overlay.size() > 0 && overlay.get(0).getStrokeColor() == null);
   else customRoi = false;
   repaint();
 }
 /** @deprecated replaced by ImagePlus.setOverlay(Shape, Color, BasicStroke) */
 public void setDisplayList(Shape shape, Color color, BasicStroke stroke) {
   if (shape == null) {
     setOverlay(null);
     return;
   }
   Roi roi = new ShapeRoi(shape);
   roi.setStrokeColor(color);
   roi.setStroke(stroke);
   Overlay list = new Overlay();
   list.add(roi);
   setOverlay(list);
 }
 /** @deprecated replaced by ImagePlus.setOverlay(Roi, Color, int, Color) */
 public void setDisplayList(Roi roi, Color color) {
   roi.setStrokeColor(color);
   Overlay list = new Overlay();
   list.add(roi);
   setOverlay(list);
 }