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