怎么通过JButton按钮打开事先做好的CHM文档
如何通过JButton按钮打开事先做好的CHM文档
如题!
这个JButton事件要怎么写才能打开事先做好的chm帮助文档呢?
谢谢帮忙
------解决方案--------------------
如题!
这个JButton事件要怎么写才能打开事先做好的chm帮助文档呢?
谢谢帮忙
------解决方案--------------------
- Java code
try { Runtime.getRuntime().exec("cmd /c start E:\\1.chm"); } catch (IOException e) { e.printStackTrace(); }