⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fetch.java~11~

📁 ATM机具有存款、取款、查询结余、打印凭条、修改密码功能。
💻 JAVA~11~
字号:
package atm;
import javax.swing.*;
import java.awt.*;
import com.borland.jbcl.layout.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.Font;
import java.awt.BorderLayout;
import java.sql.*;
/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2008</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */
class Fetch extends JFrame{
    JPanel contentPane;
    public Fetch() {
        super();
        try {
            jbInit();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

    public static void main(String[] args) {
        Fetch fetch = new Fetch();
    }

    private void jbInit() throws Exception {
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        jPanel1.setBackground(SystemColor.textHighlight);
        jPanel1.setLayout(xYLayout1);
        jLabel1.setFont(new java.awt.Font("宋体", Font.PLAIN, 25));
        jLabel1.setForeground(Color.white);
        jLabel1.setToolTipText("");
        jLabel1.setText("本机只提供100元RMB");
        jLabel2.setFont(new java.awt.Font("宋体", Font.PLAIN, 25));
        jLabel2.setForeground(Color.white);
        jLabel2.setText("请输入提取的钱数:");
        jButton1.setText("确定");
        jButton2.setText("取消");
        jButton2.addActionListener(new Fetch_jButton2_actionAdapter(this));
        jPanel1.add(jButton1, new XYConstraints(94, 367, -1, -1));
        jPanel1.add(jButton2, new XYConstraints(247, 367, -1, -1));
        jPanel1.add(jTextField1, new XYConstraints(102, 261, 191, 25));
        jPanel1.add(jLabel1, new XYConstraints(67, 62, 254, 32));
        jPanel1.add(jLabel2, new XYConstraints(92, 201, 262, 33));
    }

    JPanel jPanel1 = new JPanel();
    JLabel jLabel1 = new JLabel();
    JLabel jLabel2 = new JLabel();
    JTextField jTextField1 = new JTextField();
    JButton jButton1 = new JButton();
    JButton jButton2 = new JButton();
    XYLayout xYLayout1 = new XYLayout();
    public void jButton2_actionPerformed(ActionEvent e) {


    }

}


class Fetch_jButton2_actionAdapter implements ActionListener {
    private Fetch adaptee;
    Fetch_jButton2_actionAdapter(Fetch adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.jButton2_actionPerformed(e);
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -