java系统课程设计_Java课程设计——学生信息系统(团队)

团队名称、团队成员介绍

1.1 团队名称

1.2 团队成员

李晓冬 网络1514 201521123113 组长

龚厦彬 网络1514 201521123115 组员

2.项目git地址

3.项目git提交记录截图(要体现出每个人的提交记录、提交说明),老师将点击进去重点考核。

717a19a96ee6b2cddd0a62e678db0cf9.png

e0a241953e956e087205f375caa80671.png

4.项目功能架构图与主要功能流程图

f26a2778309765e5727777839a47e285.png

5.项目运行截图

界面

c91131c6ecd0992375092a0bc8b9822e.png

密码输入错误时

d4f9cbe3e6def8e2052b64e7f23942b4.png

查询信息

eb3a333779b899dd6ea9db30d4b060fb.png

9abacd728855b0ba4bfa658bf5c0f9fd.png

增添信息

17482ec7b957704bd22917462e4c128a.png

c7263336dcbadcc5e16b3c37fdcc5e70.png

7c314ed071dbb8cba5b4a2b99f965a6a.png

修改信息

7c314ed071dbb8cba5b4a2b99f965a6a.png

e86dd8af389334a97f00cf1f58c90d06.png

ebb04750fdc6bda5feef1cb5a6cad649.png

b77ffcecfb4e803d1935d546e7b2886a.png

6b45443b6cd20471298dabb3a8a493ed.png

删除信息

6b45443b6cd20471298dabb3a8a493ed.png

7ac14b6fd70b67fa0d9e3d7bb2ce70dd.png

105f01b7d4566b5de3c2ee0efccc70ee.png

4e9bfe4237e2cbb872bd56e8c9b3ab1f.png

3d6e218bfb4d664b57a73d74258609d0.png

6.项目关键代码

界面

private void LoginActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LoginActionPerformed

String user = Username.getText().trim();

@SuppressWarnings("deprecation")

String pass = Password.getText();

if(user.length() == 0){

JOptionPane.showMessageDialog(null, "用户名不能为空");

}

else if(pass.length() == 0){

JOptionPane.showMessageDialog(null, "密码不能为空");

}

else if(user.equals("admin")&&pass.equals("123456")){

AdminFrame L1 = new AdminFrame();

L1.setVisible(true);

this.setVisible(false);

}

else if(user.equals("113")&&pass.equals("123456")){

StuFrame L = new StuFrame();

L.setVisible(true);

this.setVisible(false);

}

else{

JOptionPane.showMessageDialog(null, "登录失败 请重新登录");

Username.setText("");

Password.setText("");

}

查询

private void SearchButActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_LoginActionPerformed

String[][] strs = Search.serach(Searchname.getText(),Searchstuno.getText());

if(strs[0][0]==null){

JOptionPane.showMessageDialog(null, "查无此人");

Searchname.setText("");

Searchstuno.setText("");

}

else{

new SInfor(strs).setVisible(true);

this.setVisible(false);

}

添加

private void InsertActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed

String[] str = bir.getText().split("-");

String birthday = "" ;

for (int i = 0; i < str.length; i++) {

birthday += str[i];

}

String istuno = stuno.getText().trim();

String iname = name.getText().trim();

String igender = gender.getText().trim();

String ibirthdate = bir.getText().trim();

String ipoutlook = po.getText().trim();

String iaddress = add.getText().trim();

String iphone = tel.getText().trim();

String idormitory = dn.getText().trim();

if(istuno.length()==0)

JOptionPane.showMessageDialog(null, "学号不能为空!");

else if(Search.isNumer(istuno)==false)

JOptionPane.showMessageDialog(null, "学号格式有误,请重新输入");

else if(iname.length()==0)

JOptionPane.showMessageDialog(null, "姓名不能为空!");

else if(igender.length()==0)

JOptionPane.showMessageDialog(null, "性别不能为空!");

else if(igender.length()>1){

JOptionPane.showMessageDialog(null, "性别格式有误,请输入m/f");

}

else if (ibirthdate.length()==0){

JOptionPane.showMessageDialog(null, "生日不能为空!");

}

else if((bir.getText().length()!=0&&Search.isNumer(birthday)==false)||bir.getText().length()!=10){

JOptionPane.showMessageDialog(null, "生日格式有误,请输xxxx-xx-xx格式");

bir.setText("");

} else if(Integer.parseInt(str[1])>12){

JOptionPane.showMessageDialog(null, "月份输入有误");

bir.setText("");

}

else if(Integer.parseInt(str[2])>31){

JOptionPane.showMessageDialog(null, "日期输入有误");

bir.setText("");

}

else if(Search.isNumer(iphone)==false){

JOptionPane.showMessageDialog(null, "电话号码格式有误!");

tel.setText("");

}

else{

InsertDB.Insert(istuno, iname, igender, birthday, ipoutlook, iaddress, iphone, idormitory);

stuno.setText("");name.setText("");gender.setText("");bir.setText("");

po.setText("");add.setText("");tel.setText("");dn.setText("");

}

}

修改

private void modifyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_modifyActionPerformed

String[] str = bir.getText().split("-");

String birthday = "" ;

for (int i = 0; i < str.length; i++) {

birthday += str[i];

}

if(stuno.getText().length()==0)

JOptionPane.showMessageDialog(null, "学号不能为空!");

else if(Search.isNumer(stuno.getText())==false)

JOptionPane.showMessageDialog(null, "学号格式有误,请重新输入");

else if(name.getText().length()==0)

JOptionPane.showMessageDialog(null, "姓名不能为空!");

else if(gender.getText().length()==0)

JOptionPane.showMessageDialog(null, "性别不能为空!");

else if(gender.getText().length()>1){

JOptionPane.showMessageDialog(null, "性别格式有误,请输入m/f");

gender.setText("");

}

else if (bir.getText().length()==0){

JOptionPane.showMessageDialog(null, "生日不能为空!");

}

else if((bir.getText().length()!=0&&Search.isNumer(birthday)==false)||bir.getText().length()!=10){

JOptionPane.showMessageDialog(null, "生日格式有误,请输xxxx-xx-xx格式");

bir.setText("");

}else if(Integer.parseInt(str[1])>12){

JOptionPane.showMessageDialog(null, "月份输入有误");

bir.setText("");

}

else if(Integer.parseInt(str[2])>31){

JOptionPane.showMessageDialog(null, "日期输入有误");

bir.setText("");

}

else if(Search.isNumer(phone.getText())==false){

JOptionPane.showMessageDialog(null, "电话号码格式有误!");

phone.setText("");

} else{

int yes =JOptionPane.showConfirmDialog(this, "确认修改?", "提示",JOptionPane.YES_NO_OPTION);

if(yes==JOptionPane.YES_OPTION){

Modify.modify(stuno.getText(), name.getText(), gender.getText(),birthday,

poutlook.getText(), address.getText(), phone.getText(), dormitory.getText());

}

else{

}

}

}

删除

private void deleteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_deleteActionPerformed

int yes =JOptionPane.showConfirmDialog(this, "确认删除?", "提示",JOptionPane.YES_NO_OPTION);

if(yes==JOptionPane.YES_OPTION){

Delete.delete(getstuno1.getText());

}

else{

}

}

7.尚待改进或者新的想法

登录界面不够完善,只能有两个账号登录。——改进想法:可以实现自行注册用户,管理员可以给用户分配权限。

插入操作只能一条一条插入,尚不能实现批量插入。——改进想法:可以批量插入,或者导入表格插入。

操作界面不够完善。

8.团队成员任务分配,团队成员课程设计博客链接(以表格形式呈现),标明组长。

| 成员 | 任务 | 博客链接 |

| -------- | -----: | :----: |

| 李晓冬(组长)| 登录界面,插入操作,删除操作| http://www.cnblogs.com/leexd/p/7077083.html|

| 龚厦彬| GUI设计,查询操作,修改操作 |http://www.cnblogs.com/handsome321/p/7067041.html|

第1章 记忆测试软件1.1. 设计内容1.2. 设计要求1.3. 总体设计1.4. 具体设计1.4.1. 运行效果与程序发布1.4.2. 主类Memory1.4.3. 方块 Block1.4.4. 记忆测试板MemoryTestPane1.4.5. 显示成绩 ShowRecord1.4.6. 记录成绩 Record1.4.7. 随机排列图标 RandomSetIcon1.4.8. 测试者 People1.5. 课程设计作业第2章 计算器2.1. 设计内容2.2. 设计要求2.3. 总体设计2.4. 具体设计2.4.1. 运行效果与程序发布2.4.2. 主类 ComputerPad2.4.3. 数值按钮NumberButton2.4.4. 运算符号按钮OperationButton2.5. 课程设计作业第3章 HANNOI-塔3.1. 设计内容3.2. 设计要求3.3. 总体设计3.4. 具体设计3.4.1. 运行效果与程序发布3.4.2. 主类 Tower3.4.3. Hannoi-塔 HannoiTower3.4.4. 塔点 TowerPoint3.4.5. 盘子 Disk3.5. 课程设计作业第4章 JPEG图象生成器4.1. 设计内容4.2. 设计要求4.3. 总体设计4.4. 具体设计4.4.1. 运行效果与程序发布4.4.2. 主类 MakeJPEG.java4.5. 课程设计作业第5章 标准化考试系统 (单机版)5.1. 设计内容5.2. 设计要求5.3. 总体设计5.4. 具体设计5.4.1. 运行效果与程序发布5.4.2. 主类EnglishTest5.4.3. 考试区域TestArea5.4.4. 读取试题 ReadTestquestion5.5. 课程设计作业第6章 标准化考试系统 (C/S网络版)6.1. 设计内容6.2. 设计要求6.3. 总体设计6.4. 具体设计6.4.1. 运行效果与程序发布6.4.2. 客户端主类Client6.4.3. 客户端选择试题界面ChoiceFile6.4.4. 客户端考试界面ClientTestArea6.4.5. 服务器端主类Server6.4.6. 服务器端读取试题 ReadTestquestion6.5. 课程设计作业第7章 标准化考试系统 (B/S网络版)7.1. 设计内容7.2. 设计要求7.3. 总体设计7.4. 具体设计7.4.1. 运行效果与程序发布7.4.2. 客户端主类ClientBS7.4.3. 客户端选择试题界面ChoiceFile7.4.4. 客户端考试界面ClientTestArea7.4.5. 服务器端主类Server7.4.6. 服务器端读取试题 ReadTestquestion7.5. 课程设计作业第8章 日历记事本8.1. 设计内容8.2. 设计要求8.3. 总体设计8.4. 具体设计8.4.1. 运行效果与程序发布8.4.2. 主类CalendarPad8.4.3. 记事本NotePad8.4.4. 年Year8.4.5. 月Month8.5. 课程设计作业18.6. 课程设计作业2第9章 学籍管理系统9.1. 设计内容9.2. 设计要求9.3. 总体设计9.4. 具体设计9.4.1. 运行效果与程序发布9.4.2. 主类StudentManager9.4.3. 录入界面StudentSituation9.4.4. 查询界面Inquest9.4.5. 修改界面ModifySituation9.4.6. 删除界面Delete9.4.7. 学生对象Student9.5. 课程设计作业第10章 图书查询系统 (B/S网络版)10.1. 设计内容10.2. 设计要求10.3. 总体设计10.4. 具体设计10.4.1. 运行效果与程序发布10.4.2. 客户端主类DatabaseClient10.4.3. 服务器端主类DatabaseServer10.5. 课程设计作业第11章 中国象棋打谱软件11.1. 设计内容11.2. 设计要求11.3. 总体设计11.4. 具体设计11.4.1. 运行效果与程序发布11.4.2. 主类 Chess11.4.3. 对弈棋盘ChessBoard11.4.4. 棋子ChessPiece11.4.5. 棋点 ChessPoint11.4.6. 走棋法则Rule11.4.7. 步骤MoveStep11.4.8. 记录棋谱MakeChessManual11.4.9. 棋谱演示Demon11.5. 课程设计作业111.6. 课程设计作业2第12章 魔板游戏12.1. 设计内容12.2. 设计要求12.3. 总体设计12.4. 具体设计12.4.1. 运行效果与程序发布12.4.2. 主类PuzzleFrame12.4.3. 魔板PuzzlePad12.4.4. 魔板中的点SquarePoint12.5. 课程设计作业第13章 挖雷游戏13.1. 设计内容13.2. 设计要求13.3. 总体设计13.4. 具体设计13.4.1. 运行效果与程序发布13.4.2. 主类Game13.4.3. 方块 Block13.4.4. 雷区 MineSquare13.4.5. 雷标数目 FindAroundMineMarkNumber13.4.6. 雷标判断 DetermineMineMarkIsRightOrWrong13.4.7. 成片挖开区域 DetermineDigArea13.4.8. 无雷连通区 FindSafeArea13.4.9. 随机布雷 RandomSetMine13.4.10. 周围地雷个数FindAroundMineNumber13.4.11. 显示剩余雷数CountMine13.4.12. 计时器TimeCount13.4.13. 英雄榜录入对话框Record13.4.14. 显示英雄榜对话框ShowRecord13.4.15. 挖雷成功DecideWinner13.5. 课程设计作业第14章 网络聊天室 (B/S模式)14.1. 设计内容14.2. 设计要求14.3. 总体设计14.4. 具体设计14.4.1. 运行效果与程序发布14.4.2. 客户端主类ClientChat14.4.3. 客户端输入妮称界面InputNameTextField14.4.4. 客户端聊天界面ChatArea14.4.5. 服务器端主类ChatServer14.5. 课程设计作业第15章 局域网络广播系统15.1. 设计内容15.2. 设计要求15.3. 总体设计15.4. 具体设计15.4.1. 运行效果与程序发布15.4.2. 客户端主类Receive15.4.3. 服务器端主类BroadCastWord15.5. 课程设计作业
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值