详细说明:1.GUI要求:自行设计界面,供用户输入学生的姓名、学号、性别(下拉框)、班级和兴趣爱好(多行文本),并提供“录入”、“查询”按钮。
2.若用户单击“录入”按钮,则检查用户的输入是否存在问题,若无问题则将该学生信息存入文件;若有错,则提示用户修改。
输入需满足的条件为:姓名不能大于多于8个字符(getColums());学号为7位的数字(getColums());班级只能取值“1”、“2”、“3”或“4” paramString();兴趣爱好无特殊要求。
3.若用户单击“查询”按钮,则根据用户输入的学号,读取文件,查出用户的全部信息,并显示在界面上。paramString()-1.GUI requirements: designed for user input interface, the student name, student number, gender (dropdown), classes and hobbies (multiple lines of text), and providing the entry , the search button.
2 if the user clicks on the entry button, check user input if there is a problem, if not the student information is stored in a file if wrong, the user is prompted to modify.
The input requirements: name cannot be more than more than 8 characters (getColums ()) the student number is 7 digit number (getColums ()) class only the value 1 , 2 , 3 or 4 ) paramString (interest no special requirements.
3 if the user clicks on the search button, then according to the user input of the school, read the file, find out all the information of users, and displayed in the interface. ParamString ()