// This script demonstrates how to create a non-destructive
// text overlay with white text on a black background.

  if (IJ.getVersion()<"1.43i")
     IJ.error("Requires ImageJ 1.43i or later");
  text = "These three lines of\ntext will be overlayed on\nthe current image";
  font = new Font("SansSerif", Font.PLAIN, 16);
  roi = new TextRoi(10, 10, text, font);
  roi.setNonScalable(true);
  img = IJ.getImage();
  img.setDisplayList(roi, Color.white, 1, Color.black);
