System.err.println("showDocument failed: " + e);
throw new RuntimeException("showDocument failed.", e);
  public void showDocument(URL url, String target)  {    try      {        PluginAppletViewer.write("url " + url + " " + target);      }    catch(IOException e)      {        System.err.println("showDocument failed: " + e);      }  }