JavaFx:尝试仅使用 Internet Explorer 打开特定链接。 使用一些解决方案尝试过这一点。不适合我。
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 中打开 URL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61865155/