int result = AppletWarning.show(); if (result == JOptionPane.NO_OPTION) return;
  public void setHandle(long handle)  {    super.setHandle(handle);    addNotify();    ArrayList l = parser.parseAppletTags();    int s = l.size();    for (int i = 0; i < s; i++)      {        tag = (AppletTag) l.get(i);        applet = Main.createApplet(tag);        if (contexts.get(tag.getCodeBase()) == null)          contexts.put(tag.getCodeBase(), new PluginAppletContext());        int result = AppletWarning.show();        if (result == JOptionPane.NO_OPTION)          return;        add(applet);        AppletContext context = (AppletContext) contexts.get(tag.getCodeBase());        ((PluginAppletContext) context).addApplet(applet);        applet.setStub(new CommonAppletStub(tag, context, applet));        Dimension size = getSize();        if (size.width == 0 || size.height == 0)          size = tag.getSize();        applet.setSize(size);                          // Initialize the applet before showing this window so that        // the applet doesn't receive events before it has been        // initialized.        applet.init();        applet.start();        setVisible(true);      }  }