每日归档: 2018年8月5日

1 篇文章

java 调用默认浏览器
Desktop desktop = Desktop.getDesktop(); if (desktop.isDesktopSupported()&& desktop.isSupported(Desktop.Action.BROWSE)) { try { desktop.browse(new URI("https://www.dsttl3.cn")); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (URISyntaxException e1)…