freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

學(xué)生成績(jī)管理系統(tǒng)課程設(shè)計(jì)(編輯修改稿)

2025-05-09 06:16 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 !您好!歡迎登錄教師管理系統(tǒng)!)。 Teachers tch=new Teachers()。//登陸成功 } else { (ss, 登錄失敗)。 } } } catch (SQLException se) { (ss,())。 } } } else { (0)。 } }}public class System { public static Object out。 public static void main(String[] args) { new Systems()。 } public static void exit(int i) { }}class save {//聲明變量 public static String user。 public static String userpassword。 public static String[] listGroupname。}//教師界面:import .*。import .*。import .*。public class Teachers extends JFrame implements ActionListener{ //創(chuàng)建一個(gè)菜單條。 JMenuBar bar = new JMenuBar()。 //創(chuàng)建一個(gè)指定標(biāo)題的菜單。標(biāo)題分別為信息和成績(jī)。 JMenu menu1 = new JMenu(信息)。 JMenu menu2 = new JMenu(成績(jī))。 JMenu menu3 = new JMenu(修改)。 JMenu menu4 = new JMenu(更改)。 //構(gòu)造有標(biāo)題的菜單項(xiàng) JMenuItem item1 = new JMenuItem(錄入信息)。 JMenuItem item2 = new JMenuItem(錄入成績(jī))。 JMenuItem item3 = new JMenuItem(修改成績(jī))。 JMenuItem item4 = new JMenuItem(更改密碼)。 //JPanel is a generic lightweight container. JPanel jpl = new JPanel()。 String url = E:\\mysql\\。 //創(chuàng)建標(biāo)簽。A display area for a short text string or an image, or both. // A label does not react to input events. JLabel label0 = new JLabel(華北科技學(xué)院,)。 JLabel label1 = new JLabel(注意 : 請(qǐng)勿隨意刪除學(xué)生信息。,)。 JLabel label2 = new JLabel(注意 :請(qǐng)各位老師仔細(xì)輸入學(xué)生信息。,)。 JLabel label3 = new JLabel(注意 :如有疑問(wèn)請(qǐng)聯(lián)系各單位教學(xué)秘書(shū)。,)。 //此處的teacher為構(gòu)造方法,構(gòu)造方法的名字必須和類(lèi)名一致。 public Teachers() { super(教師界面)。 (400,60,500,300)。 (false)。 (true)。 ()。 String usertch=。 //Sets the menubar for this 。 (bar)。 (jpl)。 (null)。 (menu1)。 (menu2)。 (menu3)。 (menu4)。 (item1)。 (item2)。 (item3)。 (item4)。 //添加監(jiān)視器。this表示當(dāng)前窗口。 (this)。 (this)。 (this)。 (this)。 //設(shè)置初始化位置。 (378,180,600,20)。 (label0)。 (100,40,600,20)。 (label1)。 (100,60,700,20)。 (label2)。 (100,80,700,20)。 (label3)。 JLabel img = new JLabel(new ImageIcon(url))。 (0,0,500,300)。 (img)。 } public void actionPerformed(ActionEvent e) { if(()==item1) { AddMsg msg = new AddMsg()。 } else if(()==item2) { Addscore as = new Addscore()。 } else if(()==item3) { Updatescore as=new Updatescore()。 } else{ Genggai as=new Genggai()。 } } public static void main(String[] args) { Teachers tch = new Teachers()。 }}//學(xué)生登錄界面:import .*。import .*。import .*。public class Students extends JFrame implements ActionListener{ private static Object rs。// 創(chuàng)建一個(gè)菜單條。 JMenuBar jmb = new JMenuBar()。 JMenu mima = new JMenu(密碼)。 JMenu Message = new JMenu(信息)。 JMenu Score = new JMenu(成績(jī))。 // 構(gòu)造有標(biāo)題的菜單項(xiàng)。 JMenuItem Item1 = new JMenuItem(修改密碼)。 JMenuItem Item2 = new JMenuItem(查詢信息)。 JMenuItem Item3 = new JMenuItem(查詢成績(jī))。// 構(gòu)造面板 JPanel jpl = new JPanel()。 String url = E:\\mysql\\。 //構(gòu)造標(biāo)簽。 JLabel label1 = new JLabel(校訓(xùn):自立立人,興安安國(guó),)。 JLabel label2 = new JLabel(North China Institute of Science and Technology,)。 JLabel label3 = new JLabel(如有疑問(wèn)請(qǐng)聯(lián)系個(gè)單位教學(xué)秘書(shū)。,)。 JLabel label4 = new JLabel(華北科技學(xué)院,)。 public Students() {// super(學(xué)生界面)。 (400,60,500,300)。 (true)。 (false)。 ()。// 設(shè)置菜單條。 (jmb)。 (mima)。 (Message)。 (Score)。 (Item1)。 (Item2)。 (Item3)。 // 添加監(jiān)視器. (this)。 (this)。 (this)。 (jpl)。// Sets the layout manager for this container. (null)。 (100,40,600,20)。 (label1)。 (100,60,700,20)。 (label2)。 (100,80,600,20)。 (label3)。 (378,180,600,20)。 (label4)。 JLabel img = new JLabel(new ImageIcon(url))。 (0,0,500,300)。 (img)。 } public void actionPerformed(ActionEvent e) { if(()==Item1)// { Mima mima=new Mima()。 } else if(()==Item2) { Serch ser = new Serch()。 } else{ Score so = new Score()。 } } public static void main(String[] args) { Students stu = new Students()。 }}//學(xué)生成績(jī)添加:import .*。import .*。import .*。import .*。public class Addscore extends JFrame implements ActionListener{ static Addscore ss。 JLabel[] label = {new JLabel(學(xué)號(hào):) , new JLabel(計(jì)算機(jī)基礎(chǔ):) , new JLabel(程序設(shè)計(jì)與語(yǔ)言:) , new JLabel(離散數(shù)學(xué):) , new JLabel(計(jì)算機(jī)原理:) , new JLabel(操作系統(tǒng):) , new JLabel(數(shù)據(jù)庫(kù)原理:) , new JLabel(高等數(shù)學(xué):) , new JLabel(計(jì)算機(jī)網(wǎng)絡(luò):)}。 JTextField[] txt = {new JTextField() , new JTextField() , new JTextField() , new JTextField() , new JTextField() ,new JTextField() , new JTextField() ,new JTextField() ,new JTextField() }。 JButton add = new JButton(添加)。 JButton reset = new JButton(重置)。 JPanel jpl = new JPanel()。 JLabel title = new JLabel(添加學(xué)生成績(jī) , )。 Font f = new Font(宋體 , , 22 )。 int s = 100。 String url = E:\\mysql\\。 JLabel label0 = new JLabel(華北科技學(xué)院,)。 public Addscore() {// super(學(xué)生成績(jī)管理系統(tǒng):添加學(xué)生成績(jī))。 (true)。 (400,70,500,600)。 //setSize(500,600)。只設(shè)置寬和高,默認(rèn)距離屏幕左面和屏幕上方為0個(gè)像素。 (DISPOSE_ON_CLOSE)。 (true)。 (jpl)。 (this)。 (this)。 //Sets the layout manager for this container. (null)。 (150,40,200,20)。 (f)。 ()。 //()。 (title)。 JLabel img = new JLabel(new ImageIcon(url))。 (0,0,500,565)。 for(int i = 0 。 i 。 i++) { label[i].setBounds(100,s,140,20)。 (label[i])。 txt[i].setBounds(260,s,140,20)。 (txt[i])。 s=s+40。 } (150,s,80,20)。 (250,s,80,20)。 (add)。 (reset)。 (378,500,600,20)。 (label0)。 (img)。 } public void actionPerformed(ActionEvent e) { if(()==add) { try { ()。 } catch (ClassNotFo
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1