📄 testapllet1.java
字号:
/*
* @(#)TestApllet1.java 1.0 05/05/21
*
* You can modify the template of this file in the
* directory ..\JCreator\Templates\Template_2\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.
*
*/
import java.awt.*;
import java.applet.*;
public class TestApllet1 extends Applet {
String major = "automation",University;
public void init () {
major = getParameter("topic");
University = getParameter("unit");
}
public void paint(Graphics g) {
g.drawString (major+" department of "+University,25, 25) ;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -