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

正文內(nèi)容

學(xué)生成績(jī)管理系統(tǒng)課程設(shè)計(jì)-在線(xiàn)瀏覽

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

【正文】 ((密碼).equals(password))) { (ss,(姓名)+老師!您好!歡迎登錄教師管理系統(tǒng)!)。//登陸成功 } else { (ss, 登錄失敗)。數(shù)據(jù)庫(kù)中保存著用戶(hù)的數(shù)據(jù),其中就包括用戶(hù)的登錄賬號(hào)和密碼。在eclipse上編寫(xiě)代碼的過(guò)程中,由于各個(gè)模塊寫(xiě)的時(shí)間都比較長(zhǎng),所以遇到的問(wèn)題都能夠解決了,碰到大的自己解決不了的也都請(qǐng)教了同學(xué)。因?yàn)橹黝?lèi)被一個(gè)子類(lèi)包在了大括號(hào)里,所以程序一直無(wú)法找到主類(lèi),所以程序也就無(wú)法正常運(yùn)行了。2. 界面設(shè)計(jì) 教師界面: 添加學(xué)生的基本信息: 添加學(xué)生成績(jī): 修改學(xué)生成績(jī): 修改教師登錄密碼:3模塊算法(或重要代碼段) public void actionPerformed(ActionEvent e) { if(()==item1) { AddMsg msg = new AddMsg()。 } else if(()==item3) { Updatescore as=new Updatescore()。 } }4調(diào)試與測(cè)試 教師模塊在調(diào)試的過(guò)程中總是出先數(shù)據(jù)無(wú)法正常的存入數(shù)據(jù)庫(kù)的現(xiàn)象,解決起來(lái)都比較耗時(shí),如何處理好界面之間的跳轉(zhuǎn),處理起來(lái)確實(shí)考驗(yàn)人的耐心和毅力,好在問(wèn)題都能解決。2. 界面設(shè)計(jì) 學(xué)生界面: 查詢(xún)學(xué)生信息:查詢(xún)學(xué)生成績(jī):3模塊算法(或重要代碼段) public void actionPerformed(ActionEvent e) { if(()==Item1)// { Mima mima=new Mima()。 } else{ Score so = new Score()。5 小結(jié)和展望這次數(shù)據(jù)庫(kù)的課程設(shè)計(jì)其實(shí)是做的比之前好的很多,起碼我是這么認(rèn)為的。這次的數(shù)據(jù)庫(kù)是之前的一次很大的提升。因?yàn)樽约翰簧瞄L(zhǎng)編程,所以編程對(duì)我來(lái)說(shuō)也花了很多的時(shí)間。當(dāng)然這樣進(jìn)行的過(guò)程就是進(jìn)步也是挺大的。還好現(xiàn)在的網(wǎng)絡(luò)發(fā)達(dá),有不懂得地方就可以上網(wǎng)查詢(xún)。他們都挺熱衷于解答的。兩個(gè)星期就這么的過(guò)去了,關(guān)于數(shù)據(jù)庫(kù)的設(shè)計(jì)想了一些方案,但是很快的就發(fā)現(xiàn)不適用。不過(guò)還好這次做的學(xué)生成績(jī)管理系統(tǒng)并沒(méi)有什么大的難度,一些功能都可以想的到。對(duì)于數(shù)據(jù)庫(kù)的學(xué)習(xí)雖然已經(jīng)結(jié)束了,但我想這還是不夠的,這點(diǎn)理論知識(shí)顯然不能應(yīng)對(duì)社會(huì)上的挑戰(zhàn)。參 考 文 獻(xiàn)[1] 耿祥義, 張躍平. Java大學(xué)實(shí)用教程(第3版).電子工業(yè)出版社[2]鄭阿奇,劉啟芬,顧韶華,sql server使用教程(第3版) 電子工業(yè)出版社附 錄使用說(shuō)明書(shū)用戶(hù)根據(jù)自己的身份選擇登錄,如果你是學(xué)生,輸入學(xué)號(hào)和密碼,即可登錄學(xué)生界面。查詢(xún)成績(jī)和基本信息的時(shí)候不需要輸入密碼。在教師界面,你可以錄入學(xué)生的基本信息,錄入學(xué)生的成績(jī),修改學(xué)生的基本信息,以及修改密碼。import .*。import .*。 public static String user。 static Systems ss。JPanel是一個(gè)輕量級(jí)容易。 JLabel label1 = new JLabel(登錄賬號(hào):)。 JLabel label2 = new JLabel(密 碼:)。 JButton Enter = new JButton(登錄)。 // String url = E:\\mysql\\。 // An implementation of a radio button an item that can be // selected or deselected, and which displays its state to the user. // Used with a ButtonGroup object to create a group of buttons in which // only one button at a time can be selected. //創(chuàng)建一個(gè)單選項(xiàng)。 JRadioButton xsb = new JRadioButton(學(xué)生)。 //201107024111 public Systems() { //Creates a new, initially invisible Frame with the specified title. super(登錄系統(tǒng))。//設(shè)置窗口大小不可調(diào)整。 JLabel img = new JLabel(new ImageIcon(url))。 (img)。 (265,210,70,20)。 (xsb)。 //想panel中添加xsb和tch單選按鈕。 (tch)。 (270,250,80,20)。 (this)。 //想panel中添加enter和exit單選按鈕。 (Exit)。 (panel)。 (label1)。 (name)。 (label2)。 (pwd)。 //設(shè)置可見(jiàn) (true)。 ()。 username = ()。 try { ()。 }//一下程序判斷是學(xué)生按鈕被選中還是教師按鈕被選中。DatabaseName=xscjgl,sjs,1234)。 ResultSet rs = (exec student_info)。 =password。 Students stu = new Students()。 } }//處理完之后釋放資源。 ()。 catch (SQLException se) { (ss,())。DatabaseName=xscjgl,sjs,1234)。 String id = null。 while(()) { if((教師號(hào)).equals(username)) if(((密碼).equals(password))) { (ss,(姓名)+老師!您好!歡迎登錄教師管理系統(tǒng)!)。//登陸成功 } else { (ss, 登錄失敗)。 } } } else { (0)。 public static void main(String[] args) { new Systems()。 public static String userpassword。}//教師界面:import .*。import .*。 JMenuBar bar = new JMenuBar()。標(biāo)題分別為信息和成績(jī)。 JMenu menu2 = new JMenu(成績(jī))。 JMenu menu4 = new JMenu(更改)。 JMenuItem item2 = new JMenuItem(錄入成績(jī))。 JMenuItem item4 = new JMenuItem(更改密碼)。 String url = E:\\mysql\\。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é)院,)。,)。,)。,)。 public Teachers() { super(教師界面)。 (false)。 ()。 //Sets the menubar for this 。 (jpl)。 (menu1)。 (menu3)。 (item1)。 (item3)。 //添加監(jiān)視器。 (this)。 (this)。 //設(shè)置初始化位置。 (label0)。 (label1)。 (label2)。 (label3)。 (0,0,500,300)。 } public void actionPerformed(ActionEvent e) { if(()==item1) { AddMsg msg = new AddMsg()。 } else if(()==item3) { Updatescore as=new Updatescore()。 } } public static void main(String[] args) { Teachers tch = new Teachers()。import .*。public class Students extends JFrame implements ActionListener{ private static Object rs。 JMenuBar jmb = new JMenuBar()。 JMenu Message = new JMenu(信息)。 // 構(gòu)造有標(biāo)題的菜單項(xiàng)。 JMenuItem Item2 = new JMenuItem(查詢(xún)信息)。// 構(gòu)造面板 JPanel jpl = new JPanel()。 //構(gòu)造標(biāo)簽。 JLabel label2 = new JLabel(North China Institute of Science and Technology,)。,)。 public Students() {// super(學(xué)生界面)。 (true)。 ()。 (jmb)。 (Message)。 (Item1)。 (Item3)。 (this)。 (jpl)。 (100,40,600,20)。 (100,60,700,20)。 (100,80,600,20)。 (378,180,600,20)。 JLabel img = new JLabel(new ImageIcon(url))。 (img)。 } else if(()==Item2) { Serch ser = new Serch()。 } } public static void main(String[] args) { Students stu = new Students()。import .*。import .*。 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ò):)}。 JButton add = new JButton(添加)。 JPanel jpl = new JPanel()。 Font f = new Font(宋體 , , 22 )。 String url = E:\\mysql\\。 public Addscore() {// super(學(xué)生成績(jī)管理系統(tǒng):添加學(xué)生成績(jī))。 (400,70,500,600)。只設(shè)置寬和高,默認(rèn)距離屏幕左面和屏幕上方為0個(gè)像素。 (true)。 (this)。 //Sets the layout manager for this container. (null)。 (f)。 //()。 JLabel img = new JLabel(new ImageIcon(url))。 for(int i = 0 。 i++) { label[i].setBounds(100,s,140,20)。 txt[i].setBounds(260,s,140,20)。 s=s+40。 (250,s,80,20)。 (reset)。 (label0)。 } public void actionPe
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1