我弄不明白,你为什么不这样做:
public class AppletTest1 extends Applet implements ActionListener{
...

解决方案 »

  1.   

    class ActionListen implements ActionListener
    {
    private AppletTest1 applet;  //建立与AppletTest1的沟通 //public void ActionListen(AppletTest1 app)                    public ActionListen(AppletTest1 app) 
    {
    applet=app;
    }
    .......................................
    构造函数没有返回值
      

  2.   

    Constructors are different from normal methods in some important ways:
    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
      

  3.   

    ActionListen act=new ActionListen(); 
    act.ActionListen(this);