f.addMouseLIstener(this);这句话的为什么是错的啊?

import java.awt.*;
import java.awt.event.*;
public class MouseAdapterExample extends MouseAdapter{

Frame f ;
TextField tf;
public static void main(String[]args){
MouseAdapterExample mae = new MouseAdapterExample();
mae.go();
}
public void go(){
f=new Frame("Three listeners example");
f.setBackground(Color.cyan);
f.add(new Label("请随意意移动你的鼠标,谢谢"),"North");
tf=new TextField(30);
f.add(tf,"South");
f.addMouseLIstener(this);
f.setSize(300,200);
f.setVisible(true);

}
public void mouseEntered(MouseEvent e){
String s="鼠标进入Label区域!";
tf.setText(s);
}
public void mouseExited(MouseEvent e){
String s="鼠标已经离开Label区域!";
tf.setText(s);

}
public void mouseClicked(MouseEvent e){}
public void mousePressed(MouseEvent e){}
public void mouseReleased(MouseEvent e){}

}

public void go(){
f=new Frame("Three listeners example");
f.setBackground(Color.cyan);
f.add(new Label("请随意意移动你的鼠标,谢谢"),"North");
tf=new TextField(30);
f.add(tf,"South");
f.addMouseLIstener(this);//LIstener I应该小写。。。
f.setSize(300,200);
f.setVisible(true);

}

温馨提示:答案为网友推荐,仅供参考