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

正文內(nèi)容

java課程設(shè)計(jì)論文-學(xué)籍管理系統(tǒng)-閱讀頁(yè)

2025-03-23 02:32本頁(yè)面
  

【正文】 blic change(File file) { super( 修改界面 )。 con = con = getContentPane()。 name = new JTextField(10)。 birth = new JTextField(10)。 department = new JTextField(10)。 male = new JRadioButton(男 , true)。 (male)。 find = new JButton(開(kāi)始修改 )。 (false)。 (this)。 (this)。 Box box1 = ()。 (number)。 Box box2 = ()。 (name)。 (new JLabel((新)性別 :, ))。 (female)。 (new JLabel((新)專業(yè) :, ))。 Box box5 = ()。 (grade)。 (new JLabel((新)出生 :, ))。 Box boxc = ()。 (box2)。 (box4)。 (box6)。// 盡可能把上面的 box分開(kāi)。 JPanel JP1 = new JPanel()。 JPanel JP2 = new JPanel()。 (reset)。 (JP2, )。 setSize(500, 300)。// 確保布局的有效性。 nu = ()。 oin = new ObjectInputStream(fin)。 ()。 }// try catch (Exception e1) { 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 28 頁(yè) } if ((nu)) { (true)。 (())。 (())。 if (().equals(男 )) { (true)。 } } else { String warning = 沒(méi)有該學(xué)生的信息 。 (null)。 (null)。 (null)。 String warning = 必須輸入學(xué)號(hào) 。 (null)。 (null)。 (null)。 nu = ()。 oin = new ObjectInputStream(fin)。 ()。 } catch (Exception e1) { } if ((nu)) { String q = 確認(rèn)修改該學(xué)生的信息? 。 String m = 該學(xué)生的學(xué)籍信息將被修改。 int ok = (this, m, 確認(rèn) , , )。 String bir = ()。 String gra = ()。 if (()) { se = ()。 } Stu1 = new Student()。 (na)。 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 30 頁(yè) (dep)。 (se)。 oou = new ObjectOutputStream(fou)。 (ha1)。 ()。 (null)。 (null)。 } catch (Exception e1) { } (false)。 } } else { String warning = 沒(méi)有該學(xué)生的信息 。 (false)。 (this, warning, 出錯(cuò)了 , )。 } } 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 31 頁(yè) if (() == reset) { (false)。 (null)。 (null)。 } } } 查找功能 package student。 import .*。 import 。 import .*。 Container con。// 學(xué)生的信息項(xiàng)。// 單選按鈕 ButtonGroup group。 File fi1。// 文件輸入流 FileOutputStream fou。// 對(duì)象輸入流 ObjectOutputStream oou。// 哈希表數(shù)據(jù)結(jié)構(gòu)來(lái)儲(chǔ)存數(shù)據(jù) public search(File file) { super(查詢界面 )。 con = con = getContentPane()。 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 32 頁(yè) (false)。 (true)。 (false)。 (false)。 (false)。 male = new JRadioButton(男 , true)。 (male)。 find = new JButton(查找 )。 ha1 = new Hashtable()。 (this)。 Box box1 = ()。 (number)。 Box box2 = ()。 (name)。 (new JLabel(性別 :, ))。 (female)。 (new JLabel(專業(yè) :, ))。 Box box5 = ()。 (grade)。 (new JLabel(出生 :, ))。 Box boxc = ()。 (box2)。 (box4)。 (box6)。// 盡可能把上面的 box分開(kāi)。 JPanel JP1 = new JPanel()。 JPanel JP2 = new JPanel()。 (JP1, )。 setBounds(300, 500, 200, 300)。 validate()。 addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { setVisible(false)。 } public void actionPerformed(ActionEvent e) { (null)。 (null)。 if (() == find || () == number) { String nu = 。 if (() 0) { 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 34 頁(yè) try { fin = new FileInputStream(fi1)。 ha1 = (Hashtable) ()。 ()。 (())。 (())。 if (().equals(男 )) { (true)。 } }// if(ha1) else { String warning = 該學(xué)生不存在 !。 } } else { String warning = 請(qǐng)輸入學(xué)號(hào) 。 } } else if (() == reset) { (null)。 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 35 頁(yè) (null)。 (null)。 import .*。 import .*。 import .*。 public class delete extends JFrame implements ActionListener { Student Stu, Stu1。 JTextField name, number, birth, grade, department。 JRadioButton male, female。// 形成單選效果 JButton find, confirm, reset。 FileInputStream fin。// 文件輸出流寫(xiě)入數(shù)據(jù) ObjectInputStream oin。// 對(duì)象輸出流 Hashtable ha1。 public delete(File file) { super(刪除界面 )。 ha1 = new Hashtable()。 name = new JTextField(10)。 birth = new JTextField(10)。 department = new JTextField(10)。 male = new JRadioButton(男 , true)。 (male)。 find = new JButton(查找 )。 (false)。 (this)。 (this)。 Box box1 = ()。 (number)。 Box box2 = ()。 (name)。 (new JLabel(性別 :, ))。 (female)。 (new JLabel(專業(yè) :, ))。 Box box5 = ()。 (grade)。 (new JLabel(出生 :, ))。 Box boxc = ()。 華東交通大學(xué)課程設(shè)計(jì)報(bào)告 第 37 頁(yè) (box2)。 (box4)。 (box6)。// 盡可能把上面的 box分開(kāi)。 JPanel JP1 = new JPanel()。 JPanel JP2 = new JPanel()。 (reset)。 (JP2, )。 setSize(500, 300)。// 確保布局的有效性。 if (() 0) { try { fin = new FileInputStream(fi1)。 ha1 = (Hashtable) ()。 ()。 Stu = (Student) (nu)。 Stu = (Student) (nu)。 (())。 (())。 } else { (true)。 (this, warning, 出錯(cuò)了 , )。 (null)。 (null)。 } } else { (false)。 (this, warning, 出 錯(cuò)了,)。 (null)。 (null)。 } } else if (() == confirm) { String m = 確定要?jiǎng)h除該學(xué)生的信息嗎? 。 if (ok == ) { (nu)。 oou = new ObjectOutputStream(fou)。 ()。 (null)。 (null)。 (null)。 } else if (ok == ) { (null)。 (null)。 (null)。 (null)。 (null)。 } } }
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1