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

正文內(nèi)容

java課程設(shè)計(jì)學(xué)生成績管理系統(tǒng)畢業(yè)論文-資料下載頁

2025-06-28 07:51本頁面
  

【正文】 (new JLabel(輸入要?jiǎng)h除的學(xué)號(hào):))。 ((8))。 (num)。 ((8))。 (b)。 box1 = ()。 (new JLabel(姓名:))。 ((8))。 (name)。 box2 = ()。 (new JLabel(性別:))。 ((8))。 (sex)。 box3 = ()。 (new JLabel(專業(yè):))。 ((8))。 (professional)。 box4 = ()。 (new JLabel(年級:))。 ((8))。 (cla)。 box5 = ()。 (new JLabel(出生:))。 ((8))。 (birth)。 box6 = ()。 (b1)。 box = ()。 (box0)。 ((12))。 (box1)。 ((12))。 (box2)。 ((12))。 (box3)。 ((12))。 (box4)。 ((12))。 (box5)。 ((12))。 (box6)。 Panel pCenter = new Panel()。 (box)。 add(pCenter, Center)。 setBackground()。 } public void actionPerformed(ActionEvent e) { String num1, name1, sex1, professional1, cla1, birth1。 int flag = 0。 if (() == b) { try { ()。// } catch (ClassNotFoundException ee) { (SQLException: + ())。 } try { con = (jdbc:odbc:stud, , )。// sql = ()。 ResultSet rs = (SELECT * FROM stud )。 while (()) { num1 = (學(xué)號(hào))。 name1 = (姓名)。 sex1 = (性別)。 professional1 = (專業(yè))。 cla1 = (年級)。 birth1 = (出生)。 if ((().trim())) { (name1)。 (sex1)。 (professional1)。 (cla1)。 (birth1)。 flag = 1。 break。 } } ()。 ()。 } catch (SQLException ex) { (SQLException: + ())。 } if (flag == 0) { (null, 這個(gè)學(xué)號(hào)不存在,請重新 輸入!, 錯(cuò)誤!, )。 ()。 ( )。 ()。 ( )。 ( )。 ( )。 } } if (() == b1) { int n = (this, 確定要?jiǎng)h除該學(xué)號(hào)及 全部信息嗎?, 學(xué)籍管理系統(tǒng), )。 if (n == ) { try { ()。 } catch (ClassNotFoundException ee) { } try { con = (jdbc:odbc:stud, , )。 sql = ()。 num1 = 39。 + ().trim() + 39。 String temp = DELETE FROM stud WHERE 學(xué)號(hào)= + num1。 (temp)。 ()。 ( )。 ()。 ( )。 ( )。 ( )。 ()。 ()。 } catch (SQLException ex) { } } else if (n == ) { } } }}class exit extends JDialog implements ActionListener { JFrame mainFrame。 JPanel panelS, panelN。 JButton yes, no。 JLabel lab。 public exit(JFrame mainFrame) { super(mainFrame, 華東交通大學(xué)軟件學(xué)院學(xué)籍管理系統(tǒng), true)。 // true 代表為有模式對話框 = mainFrame。 panelN = new JPanel()。 panelS = new JPanel()。 lab = new JLabel(確認(rèn)要退出學(xué)籍管理系統(tǒng)嗎?)。 ()。 (new Font(華文行楷, , 22))。 (lab)。 yes = new JButton(退出)。 ()。 (new Font(華文行楷, , 20))。 (this)。 no = new JButton(取消)。 (new Font(華文行楷, , 20))。 ()。 (this)。 (yes)。 (no)。 getContentPane().add(panelS, )。 getContentPane().add(panelN, )。 ()。 (false)。 // 設(shè)置對話框?yàn)椴豢筛淖兇笮?} public void actionPerformed(ActionEvent e) { if (() == yes) { (0)。 } if (() == no) { (false)。 } }}class fram extends Frame implements ActionListener { MenuBar menubar。 Menu menu_select。 MenuItem item_stud_add, item_stud_search, item_stud_update, item_stud_delete, item_exit。 add luru。 Query chaxun。 Update xiugai。 Delete shanchu。 Box box, box1, box2。 fram() { super(華東交通大學(xué)軟件學(xué)院學(xué)生學(xué)籍管理系統(tǒng))。 luru = new add()。 chaxun = new Query()。 xiugai = new Update()。 shanchu = new Delete()。 menubar = new MenuBar()。 menu_select = new Menu(菜單選項(xiàng))。 (new Font(華文行楷, , 18))。 item_stud_add = new MenuItem(錄入學(xué)生基本信息)。 (this)。 item_stud_update = new MenuItem(修改學(xué)生基本信息)。 (this)。 item_stud_search = new MenuItem(查詢學(xué)生基本信息)。 (this)。 item_stud_delete = new MenuItem(刪除學(xué)生基本信息)。 (this)。 item_exit = new MenuItem(退出)。 (this)。 (item_stud_search)。 (item_stud_add)。 (item_stud_update)。 (item_stud_delete)。 (item_exit)。 (menu_select)。 setMenuBar(menubar)。 /*ImageIcon img = new ImageIcon(E:\\)。 JLabel hy = new JLabel(img)。 (0, 0, (), ())。 add(hy)。 setVisible(true)。*/ Label label = new Label(歡迎進(jìn)入學(xué)生學(xué)籍管理系統(tǒng), )。 (new Font(華文行楷, , 40))。 ()。 (label)。 } public void actionPerformed(ActionEvent e) { if (() == item_stud_add) { removeAll()。 add(luru, Center)。 validate()。 } if (() == item_stud_search) { removeAll()。 add(chaxun, Center)。 validate()。 } if (() == item_stud_update) { removeAll()。 add(xiugai, Center)。 validate()。 } if (() == item_stud_delete) { removeAll()。 add(shanchu, Center)。 validate()。 } if (() == item_exit) { JFrame f4 = new JFrame()。 exit exit1 = new exit(f4)。 (500, 240, 300, 120)。 (true)。 } }}public class stud { public static void main(String[] args) { String url = jdbc:odbc:stud。 String sql = create table stud + (學(xué)號(hào) String(20), 姓名 String(20), 性別 String(6), 專業(yè) String(30),年級 String(20),出生 String(20))。 try { ()。 } catch ( e) { } try { Connection con = (url, , null)。 Statement stmt = ()。 (sql)。 (student table created )。 ()。 ()。 } catch (SQLException exe) { } Frame fra = new fram()。 (300, 80, 500, 400)。 (true)。 /* 窗口事件處理 */ (new WindowAdapter() { public void windowClosing(WindowEvent e) { (0)。 } })。 }}①歡迎界面登陸②錄入學(xué)生基本信息③查詢學(xué)生基本信息④刪除學(xué)生基本信息⑤修改學(xué)生基本信息⑥退出系統(tǒng)第 60 頁
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1