?? aboutaction.java~6~
字號(hào):
package informationsystem.gui;
import java.awt.event.*;
import java.awt.*;
import informationsystem.gui.MainWindow;
public class AboutAction
implements ActionListener {
private MainWindow window;
public AboutAction(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) {
AboutDialog dlg = new AboutDialog(this.window);
Dimension dlgSize = dlg.getPreferredSize();
Dimension frmSize = this.window.getSize();
Point loc = this.window.getLocation();
dlg.setLocation( 132 + loc.x,
122 + loc.y);
dlg.setModal(true);
dlg.pack();
dlg.show();
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -