首页 >计算机类 >JAVA认证 > >btn=new Button("ok"); FrameInout() { add(btn); btn.addActionListener(this); } public void ActionPerformed(ActionEvent e){...} } 以上语句中的this是指代btn(按钮)对象。()

阅读排行