import java.awt.*;
import java.awt.event.*;
public class Eventest
{
Button btn1=new Button("单击");
Frame myframe=new Frame("测试单击事件");
public void init(){
btn1.setSize(30,26);
btn1.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e){
if(btn1...
import java.awt.*;
import java.awt.event.*;
public class MulitListener
{
private Frame myframe=new Frame("测试窗口");
private Button btn1=new Button("按钮1");
private Button btn2=new Button("按钮2");
private TextArea fil=new TextArea(7,8);
public void init()
{
second se=new seco...