【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的更多相关文章

  1. 作业七:团队项目——Alpha版本冲刺阶段

      本次作业为期三周时间,要求各组结合所选项目并阅读教材<构建之法>第六章内容,完成项目的Alpha版本.本阶段的主要内容如下:(20分) 1. 每天组织一次站立会议,讨论每个成员的昨天进 ...

  2. 作业七:团队项目——Alpha版本冲刺阶段010

    今日安排:组内成员讨论 今日进程:组内成员讨论结束,并有明确的解决办法,每个人准备实践

  3. 作业七:团队项目——Alpha版本冲刺阶段009

    今日安排:组内成员讨论 今日进度:组内成员讨论分工细节以及可能遇到的问题,并提出解决方案

  4. 作业七:团队项目——Alpha版本冲刺阶段008

    今日进度:组内成员讨论 今日安排:组内成员分工

  5. 作业七:团队项目——Alpha版本冲刺阶段007

    今日进展:完善游戏主体代码. 今日安排:让游戏能运行起来.

  6. 作业七:团队项目——Alpha版本冲刺阶段006

    今日进展:完成主体代码. 今日安排:对程序主体进行编写.

  7. 作业七:团队项目——Alpha版本冲刺阶段005

    今日进展:编写代码. 今日安排:完成开始部分代码.

  8. 作业七:团队项目——Alpha版本冲刺阶段004

    今日进展:我们的扫雷基本界面已经差不多了,准备开始编写内部代码. 今日安排:做好界面,准备开始代码编写.

  9. 作业七:团队项目——Alpha版本冲刺阶段003

    今日进展:我们的目标是做一款扫雷游戏,所以我们先去玩了几款游戏,找到了扫雷游戏的一些特点. 今日安排:先进行了一些必要的游戏过程,进行了基本的扫雷界面规划.

  10. 作业七:团队项目——Alpha版本冲刺阶段002

    今日进展:我们终于安装好了软件,今天开始进行作业设计. 今日安排:今天开始我们要开始我们的框架的设计.

随机推荐

  1. 对oracle中SQL优化的理解

    Oracle数据库里SQL优化的终极目标就是要缩短目标SQL语句的执行时间.要达到上述目的,我们通常只有如下三种方法可以选择:1.降低目标SQL语句的资源消耗.2.并行执行目标SQL语句.3.平衡系统 ...

  2. Code once, debug everywhere.

    1.通常语言调用一个函数会出exception的情况,在javascript里面返回的是undefined.等到程序运行不正常的时候,你看到数据结构的有些地方为什么是undefined,只能哭了. 2 ...

  3. Verilog如何从外部更改模块内参数

    例如有一个模块 module x(a,b,c); input a,b; output c; 'd0, h=9'd3; ...... endmodule 两种解决方法: 1.使用带有参数值的模块实例语句 ...

  4. 如何代码隐藏email而用户又能看到

    我们有时在网站上留一个邮箱,然后漫天垃圾邮件,非常苦恼,这是因为爬虫通过代码匹配收集网页上的邮箱,那么有没办法代码隐藏email而用户又能看到呢?其实不会很难,如果你的网站是用wordpress搭建, ...

  5. python实现根据当前时间创建目录并输出日志

    举个例子:比如我们要实现根据当前时间的年月日来新建目录来存放每天的日志,当前时间作为日志文件名称:代码如下: #!/usr/bin/env python3 # _*_ coding: utf-8 _* ...

  6. rem、em 、font-size随着屏幕大小的改变而改变

    rem  的根标签是html 以html标签上设置的font-size的值为参考点 如: <div id="app"> <div id="son> ...

  7. 继承:继承后子类构造函数具有隐式super,所以子类中所以的构造函数默认会访问父类中的空参数的构造函数

    class Test { Test(){ System.out.println("Test"); } Test(String name){ System.out.println(& ...

  8. php-fpm sock 进程池优化

    更改tcp为sock ;listen = 127.0.0.1:9000 listen = /dev/shm/php-cgi.sock pm = static \\静态进程池 pm.max_childr ...

  9. NetBeans issues and solutions.(build.xml and debug multiple projects)

    Copy a directory to another directory when building the .jar in NetBeans in the build.xml file. Solu ...

  10. nodejs+mysql入门实例(增)

    var userAddSql = 'INSERT INTO userinfo(id,username,pwd) VALUES(0,?,?)'; var userAddSql_Params = ['Wi ...