求助,疑惑不解!!!
import javax.swing.*; import java.awt.*; import java.awt.event.*;
class Login extends JFrame implements KeyListener,ActionListener { .....Longin() {...........}; //省略构造函数
public static void main(String args[])
{
Longin l=new Longin();
}
}
Login is not abstract and dose not override abstract method keyTyped(java.awt.event.KeyEvent)in java.awt.event.KeyListener
在编译过后会有这个错误不懂错在什么地方,求助.......
----------------解决方案--------------------------------------------------------