📄 swingeventlistener.java
字号:
//===========================================================================//===========================================================================package vsdk.transition.render.swing;// GUI JDK classes (Awt + Swing)import java.awt.event.ActionEvent;import java.awt.event.ActionListener;public class SwingEventListener implements ActionListener{ private String commandName; private ActionListener executor; SwingEventListener (String c, ActionListener e) { commandName = c; executor = e; } public void actionPerformed(ActionEvent e) { ActionEvent e2; e2 = new ActionEvent(this, 1, commandName); executor.actionPerformed(e2); }}//===========================================================================//= EOF =//===========================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -