【Alpha版本】冲刺阶段——Day6
【Alpha版本】冲刺阶段——Day6
阅读目录
* [今日进展](#1)
* [问题困难](#2)
* [明日任务](#3)
* [今日贡献量](#4)
* [TODOlist](#5)
【今日进展】
- 为注册模块增加界面代码
public static void Windows() {
WindowActionEvent win=new WindowActionEvent();
win.setBounds(780,450,290,130);
win.setTitle("注册");
}
public static class WindowActionEvent extends JFrame {
public static String name;
public static String cipher;
JButton button;
JTextField inputText;
JPasswordField inputCipher;
public WindowActionEvent() {
init();
setVisible(true);
setResizable(false);
}
void init() {
setLayout(new FlowLayout());
inputText=new JTextField(20);
inputCipher=new JPasswordField(20);
button = new JButton("注册");
button.addActionListener(event->{
name=inputText.getText();
char [] a=inputCipher.getPassword();
cipher=new String(a);
//System.out.println(name);
//System.out.println(cipher);
Register register=new Register();
register.insertMessage(name,cipher);
});
add(new JLabel("新账号"));
add(inputText);
add(new JLabel(" 密码"));
add(inputCipher);
add(button);
}
}
}
为登录模块增加界面代码
为修改密码模块增加界面代码
为注销模块增加界面代码
完成主函数代码
public class Program{
public static void main(String[] args) throws SQLException {
WindowActionEvent win=new WindowActionEvent();
win.setBounds(700,450,450,100);
win.setTitle("Java红茶加密存储系统");
CreatTable.Creat();
}
public static class WindowActionEvent extends JFrame {
JButton button1;
JButton button2;
JButton button3;
JButton button4;
public WindowActionEvent() {
init();
setVisible(true);
setResizable(false);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
void init() {
FlowLayout flowLayout=new FlowLayout();
flowLayout.setAlignment(FlowLayout.CENTER);
setLayout(flowLayout);
button1 = new JButton("登录");
button1.setPreferredSize(new Dimension(100,40));
button2 = new JButton("注册");
button2.setPreferredSize(new Dimension(100,40));
button3 = new JButton("注销");
button3.setPreferredSize(new Dimension(100,40));
button4 = new JButton("修改密码");
button4.setPreferredSize(new Dimension(100,40));
button1.addActionListener(event->{
Login.Windows();
/*
login.setName();
login.setCipher();
login.LOGIN();
*/
});
button2.addActionListener(event->{
Register.Windows();
});
button3.addActionListener(event->{
Cancel.Windows();
});
button4.addActionListener(event->{
Modify.Windows();
});
add(button1);
add(button2);
add(button3);
add(button4);
}
}
}
【问题困难】
- 界面比列设计不合理,影响美观度。
【明日任务】
韩啸: 跟进TODOList,准备答辩
夏云霄: 跟进燃尽图,准备答辩
陈思兵: 理解代码、制作答辩ppt
朱文远:将现有程序打包成jar包,准备答辩
张家佳:收集团队成员进展并且汇总,撰写博客,准备答辩
【今日贡献量】
| 韩啸 | 夏云霄 | 陈思兵 | 朱文远 | 张家佳 |
|---|---|---|---|---|
| 4 | 5.5 | 5 | 5.5 | 3 |
【TODOlist】

【Alpha版本】冲刺阶段——Day6的更多相关文章
- 作业七:团队项目——Alpha版本冲刺阶段
本次作业为期三周时间,要求各组结合所选项目并阅读教材<构建之法>第六章内容,完成项目的Alpha版本.本阶段的主要内容如下:(20分) 1. 每天组织一次站立会议,讨论每个成员的昨天进 ...
- 作业七:团队项目——Alpha版本冲刺阶段010
今日安排:组内成员讨论 今日进程:组内成员讨论结束,并有明确的解决办法,每个人准备实践
- 作业七:团队项目——Alpha版本冲刺阶段009
今日安排:组内成员讨论 今日进度:组内成员讨论分工细节以及可能遇到的问题,并提出解决方案
- 作业七:团队项目——Alpha版本冲刺阶段008
今日进度:组内成员讨论 今日安排:组内成员分工
- 作业七:团队项目——Alpha版本冲刺阶段007
今日进展:完善游戏主体代码. 今日安排:让游戏能运行起来.
- 作业七:团队项目——Alpha版本冲刺阶段006
今日进展:完成主体代码. 今日安排:对程序主体进行编写.
- 作业七:团队项目——Alpha版本冲刺阶段005
今日进展:编写代码. 今日安排:完成开始部分代码.
- 作业七:团队项目——Alpha版本冲刺阶段004
今日进展:我们的扫雷基本界面已经差不多了,准备开始编写内部代码. 今日安排:做好界面,准备开始代码编写.
- 作业七:团队项目——Alpha版本冲刺阶段003
今日进展:我们的目标是做一款扫雷游戏,所以我们先去玩了几款游戏,找到了扫雷游戏的一些特点. 今日安排:先进行了一些必要的游戏过程,进行了基本的扫雷界面规划.
- 作业七:团队项目——Alpha版本冲刺阶段002
今日进展:我们终于安装好了软件,今天开始进行作业设计. 今日安排:今天开始我们要开始我们的框架的设计.
随机推荐
- windows(64位)下使用curl安装
windows(64位)下使用curl安装 转自:https://blog.csdn.net/wkj001/article/details/54889907 2017年02月06日 09:46:47 ...
- Linux 抓包工具:tcpdump
tcpdump 是一个抓包工具,通常用来分析网络 安装tcpdump命令 [root@mysql test]# yum install -y tcpdump -i 指定网卡 捉取网卡数据包 抓取指定网 ...
- python3 open()函数调用方法简单示例
python3 open()函数调用简介.Python open() 方法用于打开一个文件,并返回文件对象,在对文件进行处理过程都需要使用到这个函数,如果该文件无法被打开,会抛出 OSError. 注 ...
- Python3学习之路~6.5 私有属性和私有方法
属性分为静态属性和动态属性,静态属性就是变量,动态属性就是方法.但是一般我们说的属性就是变量,方法就是方法.私有属性/方法就是外面访问不了,只有自己能够访问的属性/方法.如何将属性和方法分别变成私有属 ...
- [py]py3/pip/virtualenv/mysql环境安装
Traceback (most recent call last):是什么意思? 追踪(最后调用) pip.ini添加 https://www.cnblogs.com/lsdb/p/9188204.h ...
- OpenResty安装(Centos7.2)
下载.解压安装包 [root]# wget https://openresty.org/download/openresty-1.11.2.5.tar.gz 安装libpq.pcre.openssl ...
- 【LeetCode每天一题】Reverse Integer(反转数字)
Given a 32-bit signed integer, reverse digits of an integer. Example 1: ...
- JS 8-3 prototype属性
动态修改Student.prototype的属性时,会影响已创建或将要创建的实例. 如果将整个Student.prototype赋值为新的对象,对已经创建的实例是不会修改的,会影响后续创建的实例. n ...
- 采用Extjs MVVM + ThinkPHP 架构开发的思考
前后台号称都是MVC模式, 后台ThinkPHP框架实际上只提供web操作接口,直接返回json数据,因此只能算有Model和Controller两层, 前台ExtjsMVVM模式实际上就是分模块后的 ...
- TVTK安装
首先感觉到的一点就是在https://www.lfd.uci.edu/~gohlke/pythonlibs/#chaco这个比较受欢迎的下载Python库的网站上下载大于20mb的whl文件时就很可能 ...