FileDocCategorySizeDatePackage
ImageMapApplet.javaAPI DocExample491Thu Apr 03 15:16:32 BST 1997None

ImageMapApplet

public class ImageMapApplet extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidinit()

  
    String nextarea;
    int i = 1;

    setLayout(new BorderLayout());
    String filename = getParameter("filename");
    Image theMap = getImage(getDocumentBase(), filename);
    ImageMap im = new ImageMap(theMap, getAppletContext());
    add("Center", im);
    while ((nextarea = getParameter("area" + i++)) != null) {
      im.addMapArea(nextarea);
    }