⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cancelaction.java~3~

📁 简单的硬盘配置界面
💻 JAVA~3~
字号:
package informationsystem.gui;

import java.awt.event.*;
import informationsystem.gui.MainWindow;

public class CancelAction
    implements ActionListener {
  private MainWindow window;
  public CancelAction(MainWindow window) {
    this.window = window;
  }

  /**
   * Invoked when an action occurs.
   *
   * @param e ActionEvent
   * @todo Implement this java.awt.event.ActionListener method
   */
  public void actionPerformed(ActionEvent e) {
    this.window.jTextField1.setText("");
      this.window.jTextField2.setText("");
      this.window.jTextField3.setText("");
      this.window.jTextField4.setText("");
      this.window.jTextField5.setText("");
      this.window.jTextPane1.setText("");

  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -