📄 gradecaculateproject.java
字号:
/*
* @(#)GradeCaculateProject.java 1.0 03/11/25
*
* You can modify the template of this file in the
* directory ..\JCreator\Templates\Template_1\Project_Name.java
*
* You can also create your own project template by making a new
* folder in the directory ..\JCreator\Template\. Use the other
* templates as examples.
*
*/
package myprojects.gradecaculateproject;
import java.awt.*;
import java.awt.event.*;
class GradeCaculateProject extends Frame {
public GradeCaculateProject() {
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
dispose();
System.exit(0);
}
});
}
public static void main(String args[]) {
System.out.println("Starting GradeCaculateProject...");
GradeCaculateProject mainFrame = new GradeCaculateProject();
mainFrame.setSize(400, 400);
mainFrame.setTitle("GradeCaculateProject");
mainFrame.setVisible(true);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -