public static void openExplorer(String htmlFile) {
if (java.awt.Desktop.isDesktopSupported()) {
try {
Desktop.getDesktop().open(new File(htmlFile));
} catch (IOException e) {
e.printStackTrace();
}
}
}
public static void main(String[] args) {
openExplorer("/Users/stop_show.html");
}
1002

被折叠的 条评论
为什么被折叠?



