JavaFX - 仅在 Internet Explorer 中打开 url
JavaFX - Open a url only in Internet Explorer
JavaFx:尝试仅使用 Internet Explorer 打开特定的 link。
使用一些解决方案进行了尝试。对我不起作用。
final Hyperlink hyperlink = new Hyperlink("cmd" + " " + "/c" + "start" + " " + "iexplore" + " " + "http://www.google.com");
application.getHostServices().showDocument(hyperlink.getText());
解决方案:
Runtime.getRuntime().exec("cmd.exe /c start iexplore " + url);
JavaFx:尝试仅使用 Internet Explorer 打开特定的 link。 使用一些解决方案进行了尝试。对我不起作用。
final Hyperlink hyperlink = new Hyperlink("cmd" + " " + "/c" + "start" + " " + "iexplore" + " " + "http://www.google.com");
application.getHostServices().showDocument(hyperlink.getText());
解决方案:
Runtime.getRuntime().exec("cmd.exe /c start iexplore " + url);