📄 about.java
字号:
import java.awt.*;
import java.awt.event.*;
public class About extends Frame implements ActionListener{
About() {
Panel p1=new Panel();
Label label2=new Label("Thank you for using!");
p1.add(label2);
Label label5=new Label(" ");
p1.add(label5);
Color c1=new Color(241,250,249);
p1.setBackground(c1);
add("Center",p1);
setSize(360,140);
setResizable(false);
addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
setVisible(false);
}
});
setTitle("About");
setVisible(true);
setLocationRelativeTo(null);
}
public void actionPerformed(ActionEvent e)
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -