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

📄 fetch.java~14~

📁 ATM机具有存款、取款、查询结余、打印凭条、修改密码功能。
💻 JAVA~14~
字号:
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{
    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);
        this.getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
        jLabel2.setFont(new java.awt.Font("宋体", Font.PLAIN, 20));
        jLabel2.setForeground(Color.white);
        jLabel2.setText("输入所要提取的钱数 :");
        jButton1.setText("确定");
        jButton2.setText("取消");
        jPanel1.add(jLabel1, new XYConstraints(87, 53, -1, -1));
        jPanel1.add(jLabel2, new XYConstraints(101, 189, -1, -1));
        jPanel1.add(jTextField1, new XYConstraints(101, 236, 195, 26));
        jPanel1.add(jButton1, new XYConstraints(89, 357, -1, -1));
        jPanel1.add(jButton2, new XYConstraints(248, 357, -1, -1));
        jLabel1.setFont(new java.awt.Font("宋体", Font.PLAIN, 25));
        jLabel1.setForeground(Color.white);
        jPanel1.setLayout(xYLayout1);
        jLabel1.setText("本机只提供100元RMB");
        jPanel1.setBackground(SystemColor.activeCaption);
    }

    JPanel jPanel1 = new JPanel();
    JLabel jLabel1 = new JLabel();
    XYLayout xYLayout1 = new XYLayout();
    JLabel jLabel2 = new JLabel();
    JTextField jTextField1 = new JTextField();
    JButton jButton1 = new JButton();
    JButton jButton2 = new JButton();

}

⌨️ 快捷键说明

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