我弄不明白,你为什么不这样做:
public class AppletTest1 extends Applet implements ActionListener{
...
public class AppletTest1 extends Applet implements ActionListener{
...
解决方案 »
- java读取oracle数据库数据,之后生成xml格式字符串,在线求解。
- 编译.java
- oracle书籍
- 如何读取接受到的byte[]图片?
- [求助]我想分隔字符串如何处理?
- 一个让我迷惑的SCJP试题....
- 要设计一个在网页上实现汇编的程序,CS结构,客户机浏览器里输入汇编指令, 服务器后台处理,结果返回客户机
- 为什么这段代码的输出只有xyz?
- POI向Excel中插入数据后打开Excel就出现“文件错误,可能某些数据格式已丢失"
- JDBC CONNECT SQL SERVER 2000问题?
- WebSphere Studio和WebSphere Studio Application Developer有什么区别,那位说说?
- 请教:如何实现点击一个image后,该image在Applet中移动位置?有示例代码吗?谢谢!!
{
private AppletTest1 applet; //建立与AppletTest1的沟通 //public void ActionListen(AppletTest1 app) public ActionListen(AppletTest1 app)
{
applet=app;
}
.......................................
构造函数没有返回值
1.The method name is the same as the class name.
2.There is no return type.
3.Constructors can't be inherited as other superclass methods are.
4.The constructor method can't be final,abstract,synchronized,native,or static
act.ActionListen(this);