cmd = "rundll32 url.dll,FileProtocolHandler '" + url + "'"; System.out.println(cmd);
cmd = Preferences.getUserPreference("browser"); if(cmd != null) { cmd = cmd + " " + url; }
  public void showURL(String url) {    try {      showURLwithJNLP(new URL(url));    }    catch (Exception e) {      System.out.println("JNLP:" + e);    }    String cmd;    Runtime r = Runtime.getRuntime();    try {      cmd = "kfmclient exec " + url + "";      System.out.println(cmd);      r.exec(cmd);    }    catch (Exception ex) {      try {        //win32 way        cmd = "rundll32 url.dll,FileProtocolHandler '" + url + "'";        System.out.println(cmd);        r.exec(cmd);      }      catch (Exception eee) {      }    }  }