java中如何在JButton的Listener里打开一个静态网页文件? 网页文件是当前目录下的。请教高手帮我提示代码写上。谢谢了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Runtime rt = Runtime.getRuntime(); try { rt.exec("rundll32 url.dll,FileProtocolHandler " + new File("help/index.htm").getAbsolutePath()); System.out.println("rundll32 url.dll,FileProtocolHandler " + new File("help/index.htm").getAbsolutePath()); } catch (IOException ex) { System.out.println("Menus Error!"); } 抛出异常的问题 求最短距离算法的java版 数据结构map 的问题 如何用jogl创建一个球。 好彷徨:我学VB.NET好还是学JAVA好?望指引! 最最蔡鸟的问题:applet运行提示找不到类 java.util.Scanner问题,帮忙啊~~~~~~~ 一个问题编译过了.运行出错. 日期格式化的问题 just in out with score score score!!!!!网络编程“java applet”与"javascript“那一个更好 求助:一个拼图游戏的图形显示问题 60分 甩分了!!!!!!!!!
try {
rt.exec("rundll32 url.dll,FileProtocolHandler " +
new File("help/index.htm").getAbsolutePath()); System.out.println("rundll32 url.dll,FileProtocolHandler " +
new File("help/index.htm").getAbsolutePath()); }
catch (IOException ex) {
System.out.println("Menus Error!");
}