📄 libraryinfoaction.java
字号:
package net.sfte.htlibrary.ui.action;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import net.sfte.htlibrary.ui.LibraryInfoDialog;
/**
* This class is the action listener of libraryInfo menuItem. It shows a dialog
* to display the library infomation, and User can modify or custom their's
* system.
*
* @author wenwen
*/
public class LibraryInfoAction implements ActionListener {
public LibraryInfoAction(Component parent) {
this.parent = parent;
}
public void actionPerformed(ActionEvent e) {
if (dialog == null)
dialog = new LibraryInfoDialog();
dialog.showDialog(parent);
}
private Component parent = null;
LibraryInfoDialog dialog = null;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -