📄 cancelaction.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 + -