URL url;
try{
String s=textField1.getText();
url=new URL(s);
this.getAppletContext().showDocument(url);
}
catch(MalformedURLException ex1){}
try{
String s=textField1.getText();
url=new URL(s);
this.getAppletContext().showDocument(url);
}
catch(MalformedURLException ex1){}
解决方案 »
- “TXT”文本文档写入写出删除修改源代码谁有,源码拿来研究研究,多谢!
- 如何放到一个session里面 如何取session
- 我想做一个个类似飞鸽一样的软件,实现公司内部人员的聊天(单聊和群聊),以及任何格式的文件的传输
- 求教,关于select count(*) from table
- 初学 ~ 这个不是太明白,请指点!
- 关于 implements KeyListener
- 学JAVA English到底有多重要
- 好象用installanywhere可以将java应用程序发布成能在window平台上双击运行的exe??
- 在WIN2K的环境变量里设置CLASSPATH,下面的两种方法那种是对的?
- 調用日歷的問題
- 我的Java读书笔记(一部分),请大家发表意见
- 连接Oracle的问题
这句,它不出错,但也没有网页出来,你的this.getAppletContext().showDocument(url);这句不也差不多吗?