云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > java_ATM机银行存取款系统的设计与实现本科毕业论文

java_ATM机银行存取款系统的设计与实现本科毕业论文

  • 62 次阅读
  • 3 次下载
  • 2025/6/7 4:56:42

商丘师范学院2012届本科毕业论文(设计)

}

//public static void main (String[]agrs){ //Ckact c=new Ckact(); //c.ff(\ //} @Override

public void actionPerformed(ActionEvent e) { // TODO Auto-generated method stub Yhvo yvo=new Yhvo(); yvo.setHuming(hm); yvo.setMima(mm); yvo.setYue(Integer.parseInt(t1.getText())); try { Yhdao.ff2(yvo,3); } catch (ClassNotFoundException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (SQLException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } Lsvo lvo=new Lsvo(); lvo.setHuming(hm); lvo.setCaozuo(\存款\+Integer.parseInt(t1.getText())); List list = null; try { list = new Yhdao().ff(); } catch (ClassNotFoundException e2) { // TODO Auto-generated catch block e2.printStackTrace(); } catch (SQLException e2) { // TODO Auto-generated catch block e2.printStackTrace(); } for(int i=0;i

29

商丘师范学院2012届本科毕业论文(设计)

} catch (SQLException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } }

package action;

import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.sql.SQLException; import java.util.List;

import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextField; import dao.Lsdao; import dao.Yhdao; import vo.Lsvo; import vo.Yhvo;

//用户取款小窗口

public class Qkact extends JFrame implements ActionListener{ private static final long serialVersionUID = -1643869494402974271L; JFrame f=new JFrame(\用户取款界面\); JLabel l1 = new JLabel(\取款金额\); JTextField t1 = new JTextField(10); JButton JB1 = new JButton(\取款\); String hm;String mm;

public void ff(String hm,String mm){ this.hm=hm; this.mm=mm; f.add(l1); l1.setBounds(90,70,80,30); f.add(t1); t1.setBounds(160,70,100,30); f.add(JB1); JB1.setBounds(140,130,80,30); JB1.addActionListener(this); f.setBounds(400,150,385,250);

30

商丘师范学院2012届本科毕业论文(设计)

f.setLayout(null); addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e){ System.exit(0); } }); f.setVisible(true); }

//public static void main (String[]agrs){ //Qkact c=new Qkact(); //c.ff(\ // } @Override

public void actionPerformed(ActionEvent e) { // TODO Auto-generated method stub Yhvo yvo=new Yhvo(); yvo.setHuming(hm); yvo.setMima(mm); yvo.setYue(-Integer.parseInt(t1.getText())); try { Yhdao.ff2(yvo,3); } catch (ClassNotFoundException e3) { // TODO Auto-generated catch block e3.printStackTrace(); } catch (SQLException e3) { // TODO Auto-generated catch block e3.printStackTrace(); } Lsvo lvo=new Lsvo(); lvo.setHuming(hm); lvo.setCaozuo(\取款\+Integer.parseInt(t1.getText())); List list = null; try { list = new Yhdao().ff(); } catch (ClassNotFoundException e2) { // TODO Auto-generated catch block e2.printStackTrace(); } catch (SQLException e2) { // TODO Auto-generated catch block e2.printStackTrace(); } for(int i=0;i

31

商丘师范学院2012届本科毕业论文(设计)

//list.get(i).getYue(); } } try { Lsdao.ff2(lvo,1); } catch (ClassNotFoundException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (SQLException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } }

package action; //zhuanzhang

import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.sql.SQLException; import java.util.List;

import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JTextField;

import dao.Lsdao; import dao.Yhdao;

import vo.Lsvo; import vo.Yhvo;

public class Zzact extends JFrame implements ActionListener{ private static final long serialVersionUID = -8838030643284973946L; //用户转账窗口 JFrame f=new JFrame(\用户转账界面\); JLabel l1 = new JLabel(\对方户名\); JTextField t1 = new JTextField(10); JLabel l2 = new JLabel(\转账金额\); JTextField t2 = new JTextField(10); JButton JB1 = new JButton(\转账\);

32

  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

商丘师范学院2012届本科毕业论文(设计) } //public static void main (String[]agrs){ //Ckact c=new Ckact(); //c.ff(\ //} @Override public void actionPerformed(ActionEvent e) { // TODO Auto-generated method stub Yhvo yvo=new Yhvo(); yvo.setHuming(hm); yvo.setMima(mm); yvo.setYue(Integer.parseInt(t1.getText())

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com