/*
* Qukuan.java
*
* Created on __DATE__, __TIME__
*/
package com.java.bank.ui;
import java.sql.Timestamp;
import javax.swing.JOptionPane;
import com.java.bank.dao.CardDao;
import com.java.bank.dao.OperationDao;
import com.java.bank.model.Card;
import com.java.bank.model.Operation;
/**
*
* @author __USER__
*/
public class Qukuan extends javax.swing.JFrame {
/** Creates new form Qukuan */
public Qukuan() {
initComponents();
}
private Card cardq;
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
//GEN-BEGIN:initComponents
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
jButton4 = new javax.swing.JButton();
jButton5 = new javax.swing.JButton();
jButton6 = new javax.swing.JButton();
jTextField1 = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel1.setFont(new java.awt.Font("华文行楷", 1, 36));
jLabel1.setText("\u6b22\u8fce\u4f7f\u7528xxxx\u94f6\u884cATM");
jLabel2.setFont(new java.awt.Font("华文楷体", 1, 18));
jLabel2.setText("jLabel2");
jLabel3.setFont(new java.awt.Font("楷体", 1, 18));
jLabel3.setText("\u8bf7\u9009\u62e9\u53d6\u6b3e\u91d1\u989d");
jButton1.setText("100");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
jButton2.setText("200");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton2ActionPerformed(evt);
}
});
jButton3.setText("500");
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton3ActionPerformed(evt);
}
});
jButton4.setText("1000");
jButton4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton4ActionPerformed(evt);
}
});
jButton5.setText("\u8fd4\u56de");
jButton5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton5ActionPerformed(evt);
}
});
jButton6.setText("\u786e\u5b9a");
jButton6.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton6ActionPerformed(evt);
}
});
jLabel4.setFont(new java.awt.Font("华文楷体", 1, 18));
jLabel4.setText("\u5176\u4ed6\u91d1\u989d");
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(
getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(layout
.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel1)
.addPreferredGap(
javax.swing.LayoutStyle.ComponentPlacement.RELATED,
110, Short.MAX_VALUE)
.addComponent(jLabel2).addGap(52, 52, 52))
.addGroup(
layout.createSequentialGroup()
.addGap(77, 77, 77)
.addGroup(
layout.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
layout.createSequentialGroup()
.addGroup(
layout.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING,
false)
.addComponent(
jButton3,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE)
.addComponent(
jButton1,
javax.swing.GroupLayout.DEFAULT_SIZE,
65,
Short.MAX_VALUE))
.addGap(46, 46,
46)
.addGroup(
layout.createParallelGroup(
javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
layout.createSequentialGroup()
.addComponent(
jButton4)
.addGap(89,
89,
89)
.addComponent(
jLabel4)
.addGap(50,
50,
50)
.addComponent(
jTextField1,
javax.swing.GroupLayout.DEFAULT_SIZE,
90,
Short.MAX_VALUE)
.addGap(21,
21,
21))
.addGroup(
layout.createSequentialGroup()
.addComponent(
jButton2,
javax.swing.GroupLayout.PREFERRED_SIZE,
63,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(
324,
Short.MAX_VALUE))))
.addGroup(
layout.createSequentialGroup()
.addComponent(
jButton5,
javax.swing.GroupLayout.PREFERRED_SIZE,
98,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(
400,
Short.MAX_VALUE))))
.addGroup(
layout.createSequentialGroup().addGap(20, 20, 20)
.addComponent(jLabel3)
.addContainerGap(422, Short.MAX_VALUE))
.addGroup(
layout.createSequentialGroup()
.addGap(449, 449, 449)
.addComponent(jButton6,
javax.swing.GroupLayout.PREFERRED_SIZE,
75,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(51, Short.MAX_VALUE)));
layout.setVerticalGroup(layout
.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(
layout.createSequentialGroup()
.addContainerGap()
.addGroup(
layout.createParallelGroup(
javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(
jLabel1,
javax.swing.GroupLayout.PREFERRED_SIZE,
44,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel2))
.addGap(26, 26, 26)
.addComponent(jLabel3,
javax.swing.GroupLayout.PREFERRED_SIZE,
39,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(26, 26, 26)
.addGroup(
layout.createParallelGroup(
javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(
jButton2,
javax.swing.GroupLayout.PREFERRED_SIZE,
33,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(
jButton1,
javax.swing.GroupLayout.PREFERRED_SIZE,
35,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(43, 43, 43)
.addGrou
没有合适的资源?快使用搜索试试~ 我知道了~
Java+MySql数据库 模拟ATM自助存取款bankproject
共89个文件
class:45个
form:20个
java:17个
5星 · 超过95%的资源 需积分: 50 106 下载量 33 浏览量
2013-08-08
22:10:06
上传
评论 13
收藏 654KB RAR 举报
温馨提示
一个模拟ATM自动取款机的Java小程序,连接MySql数据库,借鉴MVC的方式组织文件实现数据的存取以及修改功能!
资源推荐
资源详情
资源评论
收起资源包目录
bankproject.rar (89个子文件)
bankproject
bin
com
java
bank
dao
CardDao.class 4KB
DaoTest.class 1KB
OperationDao.class 4KB
model
Card.class 1KB
Operation.class 2KB
db
CreateConnection.class 1KB
test
ConnTest.class 3KB
ui
Qukuan$1.class 771B
Qukuan$4.class 771B
ATM$1.class 750B
ChangePassword$1.class 827B
SaveSuccess$1.class 806B
Qukuan$2.class 771B
TransferMoney.class 7KB
MainForm$4.class 785B
QueryForm.form 5KB
SaveMoney$2.class 792B
QukuanSuccess$4.class 820B
SaveSuccess.class 5KB
SaveMoney.form 6KB
SaveSuccess.form 4KB
ChangePassword.form 8KB
ChangePassword$2.class 827B
MainForm$3.class 785B
QukuanSuccess.class 6KB
TransferConfirm$1.class 834B
ATM.form 5KB
SaveMoney$1.class 792B
TransferMoney.form 7KB
TransferMoney$1.class 820B
ATM.class 6KB
Qukuan$3.class 771B
TransferMoney$2.class 820B
MainForm.form 8KB
SaveMoney.class 7KB
SaveSuccess$2.class 806B
MainForm$1.class 785B
QukuanSuccess$3.class 820B
MainForm$5.class 785B
Qukuan$6.class 771B
TransferConfirm.class 6KB
QukuanSuccess$2.class 820B
QukuanSuccess.form 6KB
MainForm$6.class 785B
ATM$2.class 537B
MainForm.class 8KB
TransferConfirm.form 6KB
QueryForm.class 5KB
Qukuan.form 10KB
MainForm$2.class 785B
Qukuan$5.class 771B
QueryForm$1.class 792B
QukuanSuccess$1.class 820B
Qukuan.class 10KB
ChangePassword.class 7KB
.settings
org.eclipse.ltk.core.refactoring.prefs 137B
org.eclipse.jdt.core.prefs 629B
src
com
java
bank
dao
CardDao.java 4KB
OperationDao.java 3KB
DaoTest.java 622B
model
Card.java 951B
Operation.java 1KB
db
CreateConnection.java 935B
test
ConnTest.java 2KB
ui
QukuanSuccess.java 7KB
ChangePassword.java 9KB
TransferMoney.java 8KB
TransferConfirm.java 7KB
MainForm.java 9KB
QueryForm.form 5KB
SaveMoney.form 6KB
SaveSuccess.form 4KB
ChangePassword.form 8KB
ATM.form 5KB
TransferMoney.form 7KB
QueryForm.java 4KB
MainForm.form 8KB
ATM.java 7KB
Qukuan.java 15KB
QukuanSuccess.form 6KB
TransferConfirm.form 6KB
Qukuan.form 10KB
SaveMoney.java 7KB
SaveSuccess.java 5KB
.project 387B
.classpath 504B
lib
AbsoluteLayout.jar 3KB
mysql-connector-java-5.0.8-bin.jar 528KB
swing-layout-1.0.3.jar 115KB
共 89 条
- 1
LRtianzhilan
- 粉丝: 4
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页