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

正文內(nèi)容

java課程設(shè)計-學(xué)籍管理系統(tǒng)-文庫吧資料

2025-08-13 09:36本頁面
  

【正文】 l((新)姓名:, ))。 (find)。//盒子模型 (new JLabel(請輸入要修改信息的學(xué)號:, ))。 (this)。 (this)。 reset = new JButton(重置)。 confirm = new JButton(錄入修改)。 (female)。 female = new JRadioButton(女, false)。 group = new ButtonGroup()。 grade = new JTextField(10)。 number = new JTextField(10)。 Hashtable ha1 = new Hashtable()。 = file。// 對象輸出流 Hashtable ha1。// 文件輸出流寫入數(shù)據(jù) ObjectInputStream oin。 FileInputStream fin。// 形成單選效果 JButton find, confirm, reset。 JRadioButton male, female。 JTextField name, number, birth, grade, department。public class change extends JFrame implements ActionListener { Student Stu, Stu1。import .*。import .*。import .*。 (null)。 (null)。 } }// if if (() == reset) { (null)。 } } } }// if else { String warning = 請確認(rèn)已經(jīng)輸入學(xué)號。 (null)。 (null)。 (null)。 ()。 (nu, Stu)。 try { fou = new FileOutputStream(fi1)。 (gra)。 (bir)。 (nu)。 } else { se = ()。 String se。 String dep = ()。 if (ok == ) { String na = ()。 } else { String m = 基本信息將被錄入!。 }// try catch (Exception e1) { } if ((nu)) { String warning = 該生信息已存在。 ()。 oin = new ObjectInputStream(fin)。 nu = ()。 // setVisible(false)。 setBounds(300, 500, 200, 300)。 validate()。 add(JP1, )。 (reset)。 JPanel JP2 = new JPanel()。 JPanel JP1 = new JPanel()。 (())。 (box5)。 (box3)。// 垂直的Box容器 (box1)。 (birth)。 Box box6 = ()。 (new JLabel(年級:, ))。 (department)。 Box box4 = ()。 (male)。 Box box3 = ()。 (new JLabel(姓名:, ))。 (number)。 Box box1 = ()。 (this)。 reset = new JButton(重置)。 (female)。 female = new JRadioButton(女, false)。 group = new ButtonGroup()。 grade = new JTextField(10)。 number = new JTextField(10)。 = file。// 對象輸出流 Hashtable ha1。// 文件輸出流寫入數(shù)據(jù) ObjectInputStream oin。 FileInputStream fin。// 形成單選效果 JButton confirm, reset。// 單選按鈕 Student Stu。// 學(xué)生的信息項。import 。import .*。import .*。 } public String getgrade(){ return 。 } public String getbirth(){ return 。 } public String getsex(){ return 。 } public String getdepartment(){ return 。 } public String getnumber(){ return 。 } public String getname(){ return 。 String grade。 String sex。 String number。 }}Student類package student。 (false)。 (false)。 (false)。 (true)。 (true)。 (false)。 (false)。 (false)。 ()。 setVisible(true)。 //(true)。 delinfo = new deleteStuinfo(fi1)。 intinfo = new inputStuinfo(fi1)。 (this)。 (this)。 add(lab1,)。 (new Font(隸書, , 30))。 setJMenuBar(Jbar)。 (delete)。 (change)。 menuj = new JMenu(功能)。 = new JMenuItem(刪除學(xué)生的信息)。 = new JMenuItem(修改學(xué)生的信息)。 ()。 (ha1)。 if (!()) { try { FileOutputStream out = new FileOutputStream(fi1)。 ha1 = new Hashtable()。 con = getContentPane()。delete delinfo。change chginfo。Hashtable ha1。JPanel JCenter。JMenuItem input, change, search, delete。JMenuBar Jbar。import 。import .*。import .*。自信心十分重要。雖然在課設(shè)中,自己的錯誤很多,有的東西也完全不理解,但是我仍然對自己有信心。在當(dāng)時看來仔仔細(xì)細(xì)的斟酌肯能會使自己的速度降低,但是這樣可以大量減少自己的錯誤,其實節(jié)省了大量的時間用來修改??赡苤皇侵形淖址腻e誤,也使是自己的程序出現(xiàn)錯誤。對于那些書本里沒有的知識,我們也需要掌握,這有利于我們拓展自己的知識面,是自己在以后的學(xué)習(xí)中更加輕松自如。在本次課設(shè)中,我遇到了好多自己不能解決的問題,同學(xué)和網(wǎng)絡(luò)的幫助無疑對自己幫助很大。修改界面 沒有該學(xué)號學(xué)生信息時,給予警告,當(dāng)不輸入學(xué)號就進(jìn)行修改功能時,也會彈出警告。 五、運(yùn)行調(diào)試與分析討論主界面主界面主要就是菜單及菜單選項的建立,以及文字布局方面。使得對應(yīng)學(xué)號的File中的的學(xué)生學(xué)籍信息制空。 (null)。 (null)。 } } else if (() == reset) { (null)。 (null)。 (null)。 } catch (Exception e1) { } (false)。 (null)。 (null)。 ()。 (ha1)。 try { fou = new FileOutputStream(fi1)。刪除功能int ok = (this, m, 確認(rèn), )。 (null)。 (null)。 } } else if (() == reset) { (null)。 } } else { String warning = 請輸入學(xué)號。 } }// if(ha1) else { String warning = 該學(xué)生不存在!。 if (().equals(男)) { (true)。 (())。 (())。如果沒有此學(xué)生信息也必須給出警告。 (this, warning, 出錯了,視圖和輸入界面類似,建立盒子模型用于存放新的學(xué)生學(xué)籍信息覆蓋原來的學(xué)生學(xué)籍信息。 (null)。 (null)。 (null)。 } } else { String warning = 沒有該學(xué)生的信息。 if (().equals(男)) { (true)。 (())。 (())。修改功能if ((nu)) { (true)。當(dāng)錄入學(xué)生信息時,還需考慮到異常情況,當(dāng)輸入已經(jīng)存在的學(xué)生學(xué)號時,給予警告“該生信息已存在”。考慮到學(xué)生性別信息的選擇,使用單選按鈕,使用JRadioButton形成單選按鈕,使用ButtonGroup展示單選效果。// 哈希圖數(shù)據(jù)結(jié)構(gòu)來儲存數(shù)據(jù)使用FileInputStream進(jìn)行文件輸入,使用FileOutputStream進(jìn)行文件輸出數(shù)據(jù)寫入,使用ObjectInputStream對學(xué)生對象信息輸入,使用Ob
點(diǎn)擊復(fù)制文檔內(nèi)容
醫(yī)療健康相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1