?? king.java
字號:
import javax.swing.*;
import java.awt.*;
public class king {
boolean packFrame = false;
public king() {
kingFrame1 frame = new kingFrame1();
if (packFrame) {
frame.pack();
} else {
frame.validate();
}
frame.setSize(400, 400);
frame.setLocation(200, 200);
frame.setTitle("學生信息管理系統");
frame.setResizable(false);
frame.setVisible(true);
try {
jbInit();
} catch (Exception ex) {
ex.printStackTrace();
}
}
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
try {
UIManager.setLookAndFeel(UIManager.
getSystemLookAndFeelClassName());
} catch (Exception exception) {
exception.printStackTrace();
}
new king();
}
});
}
private void jbInit() throws Exception {
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -