1) Put a button on the applet embeded in the web page2) addActionListener to the button, when clicked, create
a new Frame (Define everything u wanna in the frame)you can even change the icon of the frame
a new Frame (Define everything u wanna in the frame)you can even change the icon of the frame
解决方案 »
- java如何编译代码
- 求Oracle8i SQLJ编程指南
- java程序在修改后,想要把以前的注释改一下,请问有什么规范要注意么?
- 太爽了 爽得要命 爽得吐血
- 新的一年开始了,我也个做好人,给出点原码
- jdbc连接mysql的问题,重装了一次就就不行了,帮忙看看
- 怎么让所有的servlet都调用同一个类的同一个实例?
- 请问点击某张图片后,图片能够做出反应呢?毕设求救啊
- 各位大侠帮忙!!!jbuilder安装问题!!
- 怎么使Applet能访问本地文件?在加载类时,出现如图所示的对话框。(http://www.cnelc.com/java.jpg)
- 初学JAVA问个输入的问题.
- 真的没法解决了吗???
你再编写applet的时候,首先不要把它写做applet,写作application,然后添加一个html文件,里面的class调用application的主函数就可以了,这样写:
new main(null);
具体情节好像是这样,这样的话,applet就会弹出IE页面,不过不要关闭IE页面,否则也会关闭applet的,除非 你没有处理关闭事件