public static void display(Image im, String title) throws Exception {
Frame f = new WSIFFrame(im,title);
frames[frameIndex] = f;
frameIndex++;
f.add(new WSIFCanvas(im));
f.pack();
f.setLocation(300*frameIndex,200);
f.show();
}
public WSIFFrame(Image im, String title) {