能够成功运行,学生成绩管理系统,Java+SQLserver,内附说明书


学生成绩管理系统,Java+SQLserver,内附说明书。教师端登录信息的增删改查,成绩的增删改查。学生端登录,只能查看自己的信息以及成绩。都能成功运行。较简单,初学者入门可用。
资源截图
代码片段和文件信息
package Graphical_User_Interface;

import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;

import javax.swing.ImageIcon;
import javax.swing.JComboBox;
import javax.swing.Jframe;
import javax.swing.JLabel;
import javax.swing.JPanel;

@SuppressWarnings(“serial“)
public class Choice extends Jframe implements ItemListener{
String account;
String password;

JComboBox JC_box = new JComboBox();

Font font = new Font(“楷体_GB2312“Font.BOLD+Font.ITALIC20);

String path = “C:/Users/yangcheng/workspace/DatabaseExperiment/src“
+ “/Graphical_User_Interface/Choice.png“;

JPanel jpl = new JPanel();

public Choice(String ac String pd){
account = ac;
password = pd;

this.settitle(“学籍管理系统“);
this.setSize(250200);
this.setLayout(new FlowLayout());
this.setLocationRelativeTo(null);

ImageIcon bg = new ImageIcon(path);                        //背景图片
JLabel label = new JLabel(bg);
label.setBounds(00bg.getIconWidth()bg.getIconHeight());
this.getlayeredPane().add(label new Integer(Integer.MIN_VALUE));
JPanel imgP = (JPanel)this.getContentPane();
imgP.setOpaque(false);

JC_box.addItem(“功能选择“);
JC_box.addItem(“学生档案管理“);
JC_box.addItem(“学生学籍管理“);
JC_box.addItem(“学生成绩管理“);
JC_box.addItem(“统计、查询“);
JC_box.setSelectedItem(“选择功能“);    //默认选项
JC_box.setFont(font);

JC_box.addItemListener(this);

jpl.add(JC_box);
jpl.setOpaque(false);

        this.add(jpl);
        
        this.setVisible(true);
this.setResizable(true);
}

public void itemStateChanged(ItemEvent e){                          //下拉框Item
if(e.getStateChange() == ItemEvent.SELECTED){
if(JC_box.getSelectedItem()==“学生档案管理“){                   //学生档案管理
new Record_Manage(accountpassword);
JC_box.setSelectedIndex(0);
}

if(JC_box.getSelectedItem()==“学生学籍管理“){ //学生学籍管理
new School_Manage(accountpassword);
JC_box.setSelectedIndex(0);
}

if(JC_box.getSelectedItem()==“学生成绩管理“){ //学生成绩管理
new Score_Manage(accountpassword);
JC_box.setSelectedIndex(0);
}

if(JC_box.getSelectedItem()==“统计、查询“){ //统计、查询
new Statistics_Manage(accountpassword);
JC_box.setSelectedIndex(0);
}
}
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-04-16 16:28  管理系统
     目录           0  2018-04-16 16:28  管理系统成绩管理
     文件         373  2018-04-16 16:28  管理系统成绩管理.classpath
     文件         394  2018-04-16 16:28  管理系统成绩管理.project
     目录           0  2018-04-16 16:28  管理系统成绩管理.settings
     文件         598  2018-04-16 16:28  管理系统成绩管理.settingsorg.eclipse.jdt.core.prefs
     目录           0  2018-04-16 16:28  管理系统成绩管理in
     目录           0  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface
     文件       59691  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface11.jpg
     文件        3255  2018-04-16 16:28  管理系统成绩管理inGraphical_User_InterfaceChoice.class
     文件      368540  2018-04-16 16:28  管理系统成绩管理inGraphical_User_InterfaceChoice.png
     文件      170084  2018-04-16 16:28  管理系统成绩管理inGraphical_User_InterfaceRecord.jpg
     文件       19558  2018-04-16 16:28  管理系统成绩管理inGraphical_User_InterfaceRecord_Manage.class
     文件        6322  2018-04-16 16:28  管理系统成绩管理inGraphical_User_InterfaceRegister.class
     文件       15832  2018-04-16 16:28  管理系统成绩管理inGraphical_User_InterfaceSchool_Manage.class
     文件       15349  2018-04-16 16:28  管理系统成绩管理inGraphical_User_InterfaceScore_Manage.class
     文件       16162  2018-04-16 16:28  管理系统成绩管理inGraphical_User_InterfaceStatistics_Manage.class
     文件      335182  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interfaceackg3.jpg
     文件          79  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface ip.txt
     文件         487  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface主页.png
     文件        1356  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface切换用户.png
     文件         776  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface功能选1择.png
     文件         838  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface功能选择.png
     文件        1377  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface成功.png
     文件         879  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface注册.png
     文件         897  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface注销.png
     文件         783  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface登录.png
     文件      422869  2018-04-16 16:28  管理系统成绩管理inGraphical_User_Interface背景.png
     目录           0  2018-04-16 16:28  管理系统成绩管理inMain
     文件        9280  2018-04-16 16:28  管理系统成绩管理inMainMain.class
     目录           0  2018-04-16 16:28  管理系统成绩管理src
............此处省略23个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)