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

正文內(nèi)容

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

2024-12-23 06:05本頁面
  

【正文】 x(sex)。 學(xué)生 .setGrade(grade)。 學(xué)生 .setName(name)。 學(xué)生 =new Student()。 if(男 .isSelected()) sex=男 .getText()。 String borth=出生 .getText()。 String discipling=(String)專業(yè) .getSelectedItem()。 int ok=(this,m,確認 , ,)。 (this,warning,警告 , )。 ()。 基本信息表 =(HashMapString,Student)()。 if(()0){ try { inOne=new FileInputStream(systemFile)。 } public void actionPerformed(ActionEvent e){ 11 if(()==錄入 ){ String number=。 add(putButton,)。 JSplitPane splitH=new JSplitPane(,messPanel,splitV)。 setLayout(new BorderLayout())。 ()。 JPanel messPanel=new JPanel()。 (錄入 )。 (選擇照片 )。 ()。 (())。 (box5)。 (box3)。 (box1)。 (出生 )。 Box box6=()。 (new JLabel(年級 :,))。 (專業(yè) )。 Box box4=()。 (男 )。 Box box3=()。 10 (new JLabel(姓名 :,))。 (學(xué)號 )。 Box box1=()。 選擇照片 .addActionListener(this)。 重置 =new JButton(重置 )。 (女 )。 女 =new JRadioButton(女 ,false)。 group=new ButtonGroup()。 出生 =new JTextField(5)。 專業(yè) .addItem(計算機科學(xué)與技術(shù) )。 ()。 while((s=())!=null) 專業(yè) .addItem(s)。 String s=null。 try{ FileReader inOne=new FileReader(專業(yè) .txt)。 姓名 =new JTextField(5)。 pic=new StudentPicture()。 File systemFile,imagePic。 FileOutputStream outOne=null。 FileInputStream inOne=null。 9 ButtonGroup group=null。 JComboBox 專業(yè) 。 JTextField 學(xué)號 ,姓名 ,年級 ,出生 。 StudentPicture pic。InputStdent 創(chuàng)建的容器是錄入,重置,選擇照片按鈕時,容器將執(zhí)行 action Performed(ActionEvent)方法進行相應(yīng)的操作。 錄入,重置和選擇照片是 JButton 創(chuàng)建的對象,這些按鈕都將當前容器注冊為自己的 ActionEvent 事件監(jiān)視器。表明 Inputstudent 類的主要成員變量,方法和 ManagerWindow類組合關(guān)系 1)成員變量 學(xué)生是 Student 創(chuàng)建的對象,該對象含有核學(xué)生有關(guān)的數(shù)據(jù)。 } public File getImagePic(){ return imagePic。 } public String getSex(){ return sex。 } public String getBorth(){ return borth。 } public String getGrade(){ return grade。 } 7 public String getDisciping(){ return discipling。 } public String getName(){ return name。 } public String getNumber(){ return number。 File imagePic。 setImagePic 和 getImagePic()方法分別用來設(shè)置 imagePic 和獲取它的值。 imagePic 是 File 對象,用來存放學(xué)生的照片圖像的引用。 } } 運行效果如下圖所示: 6 . Student 類 創(chuàng)建的類對象 “學(xué)生”是 InputStudent 的重要成員之一,負責(zé)處理和學(xué)生有關(guān)的數(shù)據(jù)。 else if(()==歡迎界面 ) (pCenter,歡迎界面 )。 基本信息查詢與打印 .setVisible(true)。 } else if(()==查詢與打印 ){ 基本信息查詢與打印 .clearMess()。 } else if(()==修改 ){ 基本信息修改 .clearMess()。 } public void actionPerformed(ActionEvent e){ if(()==錄入 ){ 基本信息錄入 .clearMess()。 }})。 addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e){ int n=(null,確認退出嗎 ?,確認對話框 , )。 setBounds(100,50,460,280)。 validate()。 (刪除界面 ,基本信息刪除 )。 (錄入界面 ,基本信息錄入 )。 基本信息刪除 =new Delete(file)。 基本信息修改 =new ModifySituation(file)。 ()。 (基本信息 )。 if(!()){ try{ FileOutputStream out=new FileOutputStream(file)。 (card)。 card=new CardLayout()。 刪除 .addActionListener(this)。 修改 .addActionListener(this)。 基本信息 =new HashMapString,Student()。 ()。 (new ImageIcon())。 setJMenuBar(bar)。 (歡迎界面 )。 (查詢與打印 )。 (錄入 )。 bar=new JMenuBar()。 刪除 =new JMenuItem(刪
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1