?? 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 + -