java使用默认浏览器打开网站 HostServices hostServices = getHostServices(); hostServices.showDocument("www.baidu.com"); 放入方法内 代码执行到此处,直接打开一个网页