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

正文內(nèi)容

java編寫的簡單的學(xué)生信息管理系統(tǒng)(編輯修改稿)

2025-02-07 23:41 本頁面
 

【文章內(nèi)容簡介】 (file)。 ObjectOutputStream objectOut=new ObjectOutputStream(out)。 (學(xué)生散列表 )。 ()。 ()。 } catch(IOException e){} } Container con=getContentPane()。 (new BorderLayout())。 (lb, )。 (pv, )。 (ph, )。 setDefaultCloseOperation(EXIT_ON_CLOSE)。 setBounds(100,100,600,300)。 setVisible(true)。 } public static void main(String[] args) {new Test()。} class InputAct implements ActionListener{ public void actionPerformed(ActionEvent e){ 修改 .setEnabled(false)。 String number=。 number=學(xué)號 .getText()。 if(()0){ try{ inOne=new FileInputStream(file)。 inTwo=new ObjectInputStream(inOne)。 學(xué)生散列表 =(Hashtable)()。 ()。 ()。 } catch(Exception ee){(創(chuàng)建散列表出現(xiàn)問題! )。} if(學(xué)生 散列表 .containsKey(number)){ String warning=該生信息已存在,請到修改頁面修改! 。 (null,warning,警告 , )。 }//end if1 else{ String m=該生信息將被錄入! 。 int ok=(null,m,確認(rèn) , ,ESSAGE)。 if(ok==){ String name=姓名 .getText()。 String specialty=專業(yè) .getText()。 String grade=年級 .getText()。 String borth=出生 .getText()。 String sex=null。 if(男 .isSelected()){sex=男 .getText()。} else{sex=女 .getText()。} 學(xué)生 =new Student()。 學(xué)生 .setNumber(number)。 學(xué)生 .setName(name)。 學(xué)生 .setSpecialty(specialty)。 學(xué)生 .setGrade(grade)。 學(xué)生 .setBorth(borth)。 學(xué)生 .setSex(sex)。 try{ outOne=new FileOutputStream(file)。 outTwo=new ObjectOutputStream(outOne)。 學(xué)生散列表 .put(number,學(xué)生 )。 (學(xué)生散列表 )。 ()。 ()。 } catch(Exception ee){(輸出散列表出現(xiàn)問題! )。} 學(xué)號 .setText(null)。 姓名 .setText(null)。 專業(yè) .setText(null)。 年級 .setText(null)。 出生 .setText(null)。 } }//end else1 }//end if0 else{ String warning=必須輸入學(xué)號! 。 (null,warning, 警告,)。 }//end else0 }//end actionPerformed }//end class class InquestAct implements ActionListener{ public void actionPerformed(ActionEvent e){
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1