awt
awt事件模型(ppt61)-经营管理(编辑修改稿)
被分成不同类型。 每种事件都有一个对应的监听程序类,这个监听程序类应实现了相应的 监听程序接口( Listener interface) ,并且定义了事件对象的接收和处理方法。 程序 82 import .*; import ButtonHandler; public class TestButton { public static void main(String args[]) {
awt组件库(ppt130)-经营管理(编辑修改稿)
main(String args[]) { TextExample te = new TextExample(); (); } public void go() { f = new Frame(Text Example); ( new FlowLayout() ); tf1 = new TextField(Init,20); (this); (this); ta1 = new