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

正文內(nèi)容

java課程設(shè)計(jì)報(bào)告學(xué)生家教管理系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)-wenkub.com

2025-01-15 21:03 本頁(yè)面
   

【正文】 同時(shí),做這門(mén)課程設(shè)計(jì)也進(jìn)一步加強(qiáng)了我的動(dòng)手能力、以及團(tuán)隊(duì)建相互配合的樂(lè)趣。 } } catch (Exception e) { new Screen6()。 (5, new ().toString())。 (1, ())。 if (i == 1) return true。 (4, 0)。 try { PreparedStatement ps = (sql)。 } } catch (Exception e) { new Screen6()。 (5, new ().toString())。(1, ())。 } catch (Exception e) { new Screen6()。 (5, new ().toString())。 (2, () + ())。 (7)。 if (i == 1) { return true。 (4)。 (())。 (1, n6)。 } return false。 (6, new ().toString())。 (2, ())。 String sql = insert into Mteacher values(?,?,?,?,?,?)。 (mteacher)。 //此數(shù)據(jù)庫(kù)語(yǔ)句查詢(xún)指定姓名的Mteacher內(nèi)容 try { PreparedStatement ps = (sql)。 connection = ( jdbc:mysql://localhost:3306/java3, root, 1234)。import 。import 。 } return false。 int n = ()。 (7, ())。 (3, ())。 } public static boolean update(Teachers wer, String n3) { String sql = update Teachers set 姓名=?, 所在大學(xué)=? , 家教對(duì)象=?, + 星期家教安排=?, 家教次數(shù)=? ,家教附加=? ,家教缺勤=? ,薪水=?,時(shí)間=? where 姓名 = ?。 //通過(guò)執(zhí)行ps插入的內(nèi)容,i接收返回值; int i = ()。 } return false。 (9, new ().toString())。 (5, ())。 (1, ())。//如果接收的內(nèi)容不為空返回真,否則返回假 } } catch (Exception e) { new Screen6()。 (1, name)。 } catch (Exception e) { new Screen6()。 //接受數(shù)據(jù)苦語(yǔ)言 (1, name)。//拋出異常,方便調(diào)試程序 } return eList。 //構(gòu)造ps實(shí)例 ResultSet rs = ()。 connection = ( jdbc:mysql://localhost:3306/java3, root, 1234)。import 。import 。amp。 = 當(dāng)日附加。 } //添加Mteacher的有參構(gòu)造方法 public Mteacher(String 姓名, String 所在大學(xué), int 當(dāng)日家教, int 當(dāng)日附加, int 當(dāng)日缺勤, String 時(shí)間) { super()。 } public int get當(dāng)日缺勤() { return 當(dāng)日缺勤。 } public int get當(dāng)日家教() { return 當(dāng)日家教。 } public String get所在大學(xué)() { return 所在大學(xué)。 private int 當(dāng)日缺勤。public class Mteacher { //添加私有屬性 private String 姓名。 } //打印Mteacher對(duì)象的內(nèi)容 public String toString() { return **amp。 = 家教附加。 = 所在大學(xué)。 } public int get薪水() { return 薪水。 } public int get家教附加() { return 家教附加。 } public String get星期家教安排() { return 星期家教安排。 } public String get所在大學(xué)() { return 所在大學(xué)。 //對(duì)各私有屬性進(jìn)行封裝 public String get時(shí)間() { return 時(shí)間。 private int 家教附加。 private String 所在大學(xué)。}public class ActionHappen1 implements ActionListener { public void actionPerformed(ActionEvent e) { String name = ()。 (200, 200)。 (button, )。JButton button = new JButton(返回首頁(yè))。import 。import 。import 。 } public static void main(String[] args) { new Screen6()。 (true)。 (new ActionHappen1())。 JLabel label = new JLabel(操作失敗,請(qǐng)重新輸入!)。import 。import 。 } } } } (6)Screen6package JM。 if((job,jTextArea[0].getText())amp。 ()。 (jPanel[6])。 jPanel[6] = new JPanel()。 jTextArea[4].setText(+())。 jTextArea[0].setText(())。 jPanel[i].add(jTextArea[i])。 i++) { jPanel[i] = new JPanel()。 public static JTextArea jTextArea[] = new JTextArea[7]。 String bString[] = {姓名:,所在大學(xué),當(dāng)日上班,當(dāng)日加班:,當(dāng)日早退遲到:,時(shí)間:}。import 。import 。import 。 new Screen3()。 //調(diào)用DBUtil中的添加方法添加新成員的各項(xiàng)業(yè)務(wù)信息欄 if ((teachers) amp。 ()。 (jPanel[8])。 jPanel[8] = new JPanel()。 jPanel[i].setLayout(new GridLayout(1, 2))。 jTextArea[i] = new JTextArea(50, 50)。 } public Screen3() { //創(chuàng)建構(gòu)造方法初始化screen3 (new GridLayout(10, 1, 10, 10))。 JButton jButton2 = new JButton(取消)。public class Screen3 { JLabel jLabel[] = new JLabel[9]。import 。import 。import 。 } else { new Screen6()。amp。 } //新建監(jiān)聽(tīng)類(lèi)實(shí)現(xiàn)接口,給窗口中的按鈕添加監(jiān)聽(tīng) public class ActionHappen1 implements ActionListener { public void actionPerformed(ActionEvent e) { String name = ()。 (28, 28, 700, 600)。 jPanel[10].add(jButton2, )。 (new ActionHappen1())。 jTextArea[6].setText(() + )。 jTextArea[2].setText(())。 (jPanel[i])。 jLabel[i] = new JLabel(bString[i])。 for (int i = 0。 JButton jButton1 = new JButton(確認(rèn)替換)。public class Screen2 { public static JTextArea jTextArea[] = new JTextArea[10]。import 。import 。import 。 } catch (Exception e2) { new Screen6()。 } //創(chuàng)建一個(gè)監(jiān)聽(tīng)類(lèi)實(shí)現(xiàn) ActionListener接口 public class ActionHappen1 implements ActionListener { public void actionPerformed(ActionEvent e) { //通過(guò)getActionCommand()接收窗口中按鈕 String name = ()。 (28, 28, 700, 600)。 jPanel[8].add(jButton2,)。 //對(duì)screen1界面當(dāng)中的按鈕添加監(jiān)聽(tīng),并布局 (new ActionHappen1())。 jTextArea[5].setText(()+)。 jTextArea[1].setText(())。 jPanel[i].setLayout(new GridLayout(1,2))。 jTextArea[i] = new JTextArea(50, 50)。 //通過(guò)構(gòu)造screen方法對(duì)界面進(jìn)行初始化 public Screen1( String context) { (new GridLayout(10,1,10,10))。 //創(chuàng)建多個(gè)panel static String bString[] = {姓名:,所在大學(xué),家教對(duì)象:,星期家教安排:, 家教次數(shù),家教附加:,家教缺勤:,薪水:,時(shí)間:}。import 。import 。import 。} } }} (2)Screen1package JM。 //當(dāng)點(diǎn)擊“家教注銷(xiāo)”按鈕頁(yè)面跳轉(zhuǎn)到Screen1, //獲取文本框jTextArea2中內(nèi)容,然后傳給形參,執(zhí)行查詢(xún)語(yǔ)句 } if(家教替換.equals(name)){ //獲取文本框匯jTextArea2中內(nèi)容,然后傳給形參,執(zhí)行查詢(xún)語(yǔ)句 //當(dāng)點(diǎn)擊“家教替換“按鈕頁(yè)面跳轉(zhuǎn)到Screen2 new Screen2(())。 (new GridLayout(3, 1))。 (28, 28, 800, 300)。 (jScrollPane,)。 i++) { jButton[i] = new JButton(aString[i])。 } //構(gòu)造首頁(yè)界面 public Screen() { JPanel jPanel = new JPanel()。 String aString[] = { 家教添加, 家教替換
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1