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

📄 libraryinfoaction.java

📁 海天图书馆管理系统 使用Java开发
💻 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 + -