public interface ActionListener extends EventListener {
/** * Invoked when an action occurs. */ public void actionPerformed(ActionEvent e); } 適配目標中只有一個方法:actionPerformed()。由于WebFormDesigner_text_actionAdapter 實現了java.awt.event.ActionListener,所以要求實現actionPerformed()方法。