(完整word版)JAVA课程设计-银行存取管理系统(所有代码).pdf
《(完整word版)JAVA课程设计-银行存取管理系统(所有代码).pdf》由会员分享,可在线阅读,更多相关《(完整word版)JAVA课程设计-银行存取管理系统(所有代码).pdf(37页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、1 JAVA 程序设计课程设计报告设计题目:银行存取系统设计与实现学院名称:信息工程学院专业班级:13 计本 2 姓名:王田学号:1312252233 精品资料-欢迎下载-欢迎下载 名师归纳-第 1 页,共 37 页 -2 目录一 需求分析。3 二 概要设计。3 三 详细设计。3 四 模块中数据库访问。3 4.1 数据库核对用户名和密码(登录)。3 4.2 向数据库添加一行(注册)。4 4.3 修改数据库中数据(取款、存款、转账、修改密码码)。54.4 查询数据库中数据(显示余额、查询修改)。5 4.5 删除数据库中一行(注销用户)。6 五 软件的整体规划。7 5.1 登录界面。7 5.2 用
2、户业务界面。8 六 数据库设计。8 七 软件测试。8 7.1 登录界面(已有用户登录不能登录其他用户)。9 7.2 注册界面(有空文本框有提示)。9 7.3 用户主页(窗口关闭按钮不可以)。10 7.4 存款。10 7.5 取款(余额不足有提示)。10 7.6 转账(余额不足、卡号不存在都有提示窗口)。11 7.7 查询修改(卡号不可修改)。11 7.8 数据库截图。11 7.9 测试方法。12 八 总结。12 精品资料-欢迎下载-欢迎下载 名师归纳-第 2 页,共 37 页 -文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4
3、X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:C
4、P3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10
5、M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9
6、N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4
7、G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10
8、HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4
9、Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M3文档编码:CP3R4Z6D4X10 HM10F6V4G8H3 ZV9N10X4M10M33 一 需求分析本软件主要是为用户在银行自助服务的目的设计。主要业务包括注册、取款、存款、转
10、账、修改密码、查询余额和查询修改信息等项目,一个用户只允许操作自己的信息,保证用户账户的安全。二 概要设计主要设计可以为用户服务的ATM机客户端,用户可以在登录界面注册自己的卡号,登录后可以进行取款、存款、转账、修改密码、查询余额和查询修改信息的业务,所有操作都会保存数据库。实现银行自助服务的目的。三 将用户需求模块化根据概要设计的原则来分析一下本项目的用户需求,并最终转化成用程序语言描述的模块。什么样的需求才是一个模块?模块应该具备如下几个特征。(1)登录主界面:用类 a 来实现主界面的显示,用 Denlu 类中的 checkUser(String k,String m)方法链接数据库核对用
11、户名和密码是否正确,如果正确返回1,如果卡号不存在返回2,如果读取数据库失败返回3。(2)用户注册:用类Zc 来实现注册界面的显示,用Denlu 类中的zhucezh(String name,String sex,String kahao,String mima,String phone)方法链接数据库,将新用户添加入数据库。(3)用户主页:用类Zhuye 来实现主页界面的显示,主页中包括业务有取款、存款、转账、修改密码、查询余额和查询修改信息,最后有退出按钮(不能使用窗口关闭按钮退出主页,一个用户登录其他用户不能登录)。1取款:用类Qukuan 来实现取款窗口的显示,用Denlu 类中的 q
12、ukuan(long k,long j)方法链接数据库操作数据。2存款:用类Cunkuan 来实现存款窗口的显示,用Denlu 类中的 cunkuan(long k,long j)方法链接数据库操作数据。3转账:用类 Zuanzhang来实现转账窗口的显示,用 Denlu 类中的 zhuanzhang(long k,long j)方法链接数据库操作数据。4修改密码:用类Xiugai来实现修改密码窗口的显示,用Denlu 类中的gaimi(String y,String x)方法链接数据库操作数据。5查询余额:用类Xianshi 来实现查询余额窗口的显示,用Denlu 类中的 chaxun()方
13、法链接数据库操作数据。6查询修改:用类Chaxun 来实现查改窗口的显示,用Denlu 类中的chagai(String name,String sex,String phone)方法链接数据库操作数据。7注销:使用静态方法shanchu(String id)实现,注销时如果余额不为0,提示“取出余额在注销”。四 模块中数据库访问JAVA课程设计-银行存取管理系统(源代码)同学们,这里是银行存取管理系统的所有JAVA代码,下载复制粘贴就可以用。具体建包如下图:(按图片建立数据库)精品资料-欢迎下载-欢迎下载 名师归纳-第 3 页,共 37 页 -文档编码:CZ3K7D1P5X7 HY5G8I5
14、P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码
15、:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5
16、P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码
17、:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5
18、P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码
19、:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5
20、P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J24 数据库截图所有源代码:类:a.java package zhuce;import javax.swing.*;import java.awt.*;import java.awt.event.*;publicclass a extends JFrame static TextField Kahao=new TextField(1,20);static JPasswordField Mima=new JP
21、asswordField(110,15);staticbooleanweiyi=false;public a()JFrame f=new JFrame(银行管理系统 );f.setBounds(200,100,700,600);f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);精品资料-欢迎下载-欢迎下载 名师归纳-第 4 页,共 37 页 -文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I
22、5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编
23、码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I
24、5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编
25、码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I5P7K7 ZN6K7H7L6J2文档编码:CZ3K7D1P5X7 HY5G8I
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 完整 word JAVA 课程设计 银行 存取 管理 系统 所有 代码
限制150内