?? face.java
字號:
// SendPay.java
package classFile;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.event.*;
import java.sql.*;
class Face extends JPanel implements ActionListener
{
private JLabel welcome, name;
private JButton cancel;
public Face()
{
setLayout(null);
name = new JLabel("財務管理子系統-支出子系統");
name.setFont(new Font("華文琥珀", Font.PLAIN, 30));
welcome = new JLabel("Welcome you to use the system !!!! ", JLabel.CENTER);
welcome.setFont(new Font("Wide Latin", Font.PLAIN, 20));
setBackground(Color.yellow);
setForeground(Color.red);
cancel = new JButton("退出");
cancel.setBounds(630, 457, 60, 25);
add(cancel);
welcome.setBounds(50, 200, 600, 50);
name.setBounds(60, 50, 600, 50);
add(welcome);
add(name);
cancel.addActionListener(this);
}
public void actionPerformed(ActionEvent e)
{
System.exit(0);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -