{"comment":{"url":"https://api.github.com/repos/Damaer/java-GUI/comments/19968870","html_url":"https://github.com/Damaer/java-GUI/commit/e52df2047cbb30f35d6c07cbfad6d76aad2b3a79#commitcomment-19968870","id":19968870,"user":{"login":"Damaer","id":19606730,"avatar_url":"https://avatars.githubusercontent.com/u/19606730?v=3","gravatar_id":"","url":"https://api.github.com/users/Damaer","html_url":"https://github.com/Damaer","followers_url":"https://api.github.com/users/Damaer/followers","following_url":"https://api.github.com/users/Damaer/following{/other_user}","gists_url":"https://api.github.com/users/Damaer/gists{/gist_id}","starred_url":"https://api.github.com/users/Damaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Damaer/subscriptions","organizations_url":"https://api.github.com/users/Damaer/orgs","repos_url":"https://api.github.com/users/Damaer/repos","events_url":"https://api.github.com/users/Damaer/events{/privacy}","received_events_url":"https://api.github.com/users/Damaer/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":null,"commit_id":"e52df2047cbb30f35d6c07cbfad6d76aad2b3a79","created_at":"2016-11-26T07:02:38Z","updated_at":"2016-11-26T07:02:38Z","body":"\r\n  根据以上内容以及完善上一个实验的基础上，我们进行如下的设计：\r\n1.先设计一个用户登录界面，假设用户名与密码都是你对应的学号，界面要求如下：\r\n![image](https://cloud.githubusercontent.com/assets/19606730/20638694/3eac6b74-b3e9-11e6-8135-7376ae3acc2b.png)\r\n\r\n如果输入的用户名与密码正确，则进入下一个界面窗口（JFrame）。请在该界面补充两个命令按钮，确定、重置，当点击确定按钮并身份合法进入下一个界面，如果选择重置，则上面两个文本域均重新置空。几个组件可以拿一个面板装起来，并给面板一个title：用户登录界面！\r\n\r\n2.\r\n    该窗口包含三个菜单，file,edit,help,其中主要的功能在edit，对于file的菜单选择，包含有打开（open,save,exit）只需给出菜单项，不必处理对应事件响应，help选项可以不包含子菜单项，点击该菜单，出现一个关于软件版本之类的对话框，edit有如下几个选项：\r\n  \r\n![image](https://cloud.githubusercontent.com/assets/19606730/20638695/4743694a-b3e9-11e6-97d6-b9f1594b1472.png)\r\n\r\n当合法用户进入并选取add菜单项后，则显示界面如下：\r\n    \r\n![image](https://cloud.githubusercontent.com/assets/19606730/20638697/4c4ccd3c-b3e9-11e6-8727-56f68b8cfb74.png)\r\n\r\n此时按照输入的信息对学生记录（之前的ArrayList、TreeSet或其他你自己选择的结构）进行追加。\r\n如果你选择了菜单项delete，则显示界面如下：\r\n![image](https://cloud.githubusercontent.com/assets/19606730/20638698/522c9f02-b3e9-11e6-8618-cef1a1e30620.png)\r\n\r\n如果输入学生姓名后并按下“确认”按钮，系统再弹出一个请你确认的对话框，询问是否真要删除该条记录，如果选择是，则对应的学生记录从集合中删除！\r\n 如果你选择了菜单项find，则相应的界面如下：\r\n \r\n![image](https://cloud.githubusercontent.com/assets/19606730/20638700/56c7514c-b3e9-11e6-8bd3-4f0b696f56ef.png)\r\n\r\n在此界面补充一个控件，JBtton，点击该按钮，如果内容为空则警告提示，如果不为空，根据输入内容查找学生，如果集合里有吻合的记录，则该学生的信息显示在文本框中，如果没有找到，则给出一个提示无记录提示对话框。\r\n当用户选择菜单项list后，相应界面如下：\r\n![image](https://cloud.githubusercontent.com/assets/19606730/20638702/5c4a7be4-b3e9-11e6-88ed-b2a2ab02d15b.png)\r\n\r\n在上面的文本框中显示参加考试的学生信息，在下面的文本框中显示被录取的学生信息。\r\n\r\n"}}
{"actor":{"display_login":"Damaer"}}