Forpersonaluseonlyinstudyandresearch;mercialuse////.*;.*;.*;.*;.*;//定义帮助文档类classJHelpTextPanelextendsJPanel{FontnewSmallTitleFont=newFont("楷体",,12);JTextAreaHelpText=newJTextArea();JHelpTextPanel(){ setLayout(null); setBackground(); (); (); (newSmallTitleFont); (0,0,600,600); add(HelpText);}}//.*;.*;.*;.*;.*;classStudent_InforPanelextendsJPanelimplementsActionListener{//四种常用字体的定义FontnewTitleFont=newFont("楷体",,40);FontnewSmallTitleFont=newFont("楷体",,25);monFont=newFont("宋体",,20);FontnewSubMenuFont=newFont("宋体",,15);FontNewSubMenuFont=newFont("宋体",,10);//性别数组定义Stringos[]={"男","女"}; //定义确认对话框图标ImageIconthinker=newImageIcon("ICON//"); //定义学生信息管理系统面板菜单控件JLabelStudentSno_Clue=newJLabel("学号:");JLabelStudentName_Clue=newJLabel("姓名:");JLabelStudentSex_Clue=newJLabel("性别:");JLabelStudentAge_Clue=newJLabel("年龄:");JLabelStudentClass_Clue=newJLabel("班级:");JLabelStudentDept_Clue=newJLabel("系别:");JTextFieldStudentSno_Input=newJTextField();JTextFieldStudentName_Input=newJTextField();ComboBoxModelOthermode=newOtherAModel();JComboBoxStudentSex_Input=boBox(Othermode);JTextFieldStudentAge_Input=newJTextField();JTextFieldStudentClass_Input=newJTextField();JTextFieldStudentDept_Input=newJTextField();JTextAreaQueryInforShow=newJTextArea(); JLabelQueryClue=newJLabel("以下是你要查询的学生信息:");JButtonAdd_StudentInformation=newJButton("增加学生信息");JButtonDel_StudentInformation=newJButton("删除学生信息");JButtonQuery_StudentInformation=newJButton("查询学生信息"); JButtonModify_StudentInformation=newJButton("修改学生信息"); //定义变量 intValidAge; StringSnoOrigin; Student_InforPanel() {setB
JAVA设计方案的学生管理系统源代码 来自淘豆网m.daumloan.com转载请标明出处.