关于java的一些思考。
?
?
堵截 写道 按时昌是城是昌是时是是?
class="java" name="code">package com.cmp.chengfu.app.jdk6.desktop; import java.awt.Desktop; import java.io.File; import java.io.IOException; import java.net.URISyntaxException; public class DesktopDemo { public static void main(String[] args) throws IOException, URISyntaxException { Desktop desktop = Desktop.getDesktop(); //desktop.browse(new URI("www.sina.com")); desktop.open(new File("D:/WenkeL/Document/Desktop/Mine.txt")); } }
?
?