编译的问题!!!
个位朋友我是一个初学者,在添加TextArea的时候总是编译不好,出现要把类变为abstrct,请问是为什么?感谢之至!!
下面是一个程序
import java.awt.event.TextEvent;
import java.awt.event.TextListener;
import java.applet.Applet;
import java.awt.TextArea;
public abstract class Example8_6 extends Applet implements TextListener {
// Fields
TextArea text1;
TextArea text2;
// Constructors
public Example8_6() { }
// Methods
public void init() { }
public void textValueChange(TextEvent p0) { }
public abstract void textValueChanged(TextEvent p0);
}