好象是你的代码写错了,应该是ActionListener

解决方案 »

  1.   

    "class FrameInOut extends Frame implements ActoinListener"楼主,ActionListener 打错了,你打成了ActoinListener。
    在JCreator里面关键字是有特殊颜色的。
      

  2.   

    我觉得在main中的new FrameInOut()没有只是分配了内存,没有把它的reference带出来,当你在addAcitonListener(this)时无法定位,你将那段改成
    FrameInOut fioSample = new FrameInOut()或许有用
      

  3.   

    好象是你的代码写错了,应该是ActionListener,是我的代码错了,已解决