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

正文內(nèi)容

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

2025-02-20 21:03上一頁面

下一頁面
  

【正文】 排家教次數(shù)時(shí)間家教附加學(xué)生家教薪水當(dāng)日附加學(xué)生家教當(dāng)日情況(1)Teachers表,表中工資為每次20元,缺勤扣20元(2)Mteacher,表中所有記錄為當(dāng)日記錄,并且結(jié)果累加到Teachers表中 程序運(yùn)行界面(1)運(yùn)行程序顯示首頁界面(2)所有家教:點(diǎn)擊所有家教按鈕則會在第一欄文本框中顯示出所有家教的信息,可以通過拖動滾動條瀏覽所有情況(3)學(xué)生家教:添加點(diǎn)擊家教添加,彈出學(xué)生家教注冊添加框,注冊完成后再點(diǎn)擊確認(rèn)添加彈出驗(yàn)證框,若在點(diǎn)擊返回按鈕首頁則回到首頁界面(4)家教替換:在第二欄輸入要操著的人名,擊家教替換彈出學(xué)生家教替換框,出被替換人出名字以及家教次數(shù)、缺勤、附加及薪水已初始化不可改,在改完其他信息后點(diǎn)擊確認(rèn)替換即彈出驗(yàn)證框,點(diǎn)擊返回首頁按鈕首頁界面(5)家教注銷:在第二欄輸入要操著的人名,要開除一個家教或者解除家教關(guān)系時(shí),點(diǎn)擊家教注銷彈出學(xué)生家教注銷,點(diǎn)擊確認(rèn)刪除按鈕,彈出驗(yàn)證框(6)家教查詢:在第二欄輸入要查詢?nèi)说拿郑c(diǎn)擊家教查詢,若沒有要找的家教,或則家教已被刪除則彈出操著失敗,點(diǎn)擊按鈕返回首頁,則出首頁界面(7)家教查詢:在第二欄輸入要操著的人名,點(diǎn)擊家教記錄,則在第一欄文本框顯示欄怎會顯示出關(guān)于查詢?nèi)说乃屑医逃涗洠绻麤]有此人,則彈出操著失敗驗(yàn)證框,如果有此人則可給所操作的家教記錄當(dāng)日的工作情況(8)家教記錄:在第二欄輸入要操著的人名,點(diǎn)擊家教記錄,若有此人則會顯示所操著人的所有操著信息,顯示的信息可以通過拖動滾動條瀏覽,若兒沒有此人或者此人已被刪除則彈出操著失敗對話框第三章. 程序詳細(xì)設(shè)計(jì)與分析(1)Screenpackage JM。import 。 String aString[] = { 家教添加, 家教替換, 家教注銷, 家教查詢 ,所有家教,家教記錄}。 i++) { jButton[i] = new JButton(aString[i])。 (28, 28, 800, 300)。 //當(dāng)點(diǎn)擊“家教注銷”按鈕頁面跳轉(zhuǎn)到Screen1, //獲取文本框jTextArea2中內(nèi)容,然后傳給形參,執(zhí)行查詢語句 } if(家教替換.equals(name)){ //獲取文本框匯jTextArea2中內(nèi)容,然后傳給形參,執(zhí)行查詢語句 //當(dāng)點(diǎn)擊“家教替換“按鈕頁面跳轉(zhuǎn)到Screen2 new Screen2(())。import 。import 。 //通過構(gòu)造screen方法對界面進(jìn)行初始化 public Screen1( String context) { (new GridLayout(10,1,10,10))。 jPanel[i].setLayout(new GridLayout(1,2))。 jTextArea[5].setText(()+)。 jPanel[8].add(jButton2,)。 } //創(chuàng)建一個監(jiān)聽類實(shí)現(xiàn) ActionListener接口 public class ActionHappen1 implements ActionListener { public void actionPerformed(ActionEvent e) { //通過getActionCommand()接收窗口中按鈕 String name = ()。import 。import 。 JButton jButton1 = new JButton(確認(rèn)替換)。 jLabel[i] = new JLabel(bString[i])。 jTextArea[2].setText(())。 (new ActionHappen1())。 (28, 28, 700, 600)。amp。import 。import 。 JButton jButton2 = new JButton(取消)。 jTextArea[i] = new JTextArea(50, 50)。 jPanel[8] = new JPanel()。 ()。 new Screen3()。import 。 String bString[] = {姓名:,所在大學(xué),當(dāng)日上班,當(dāng)日加班:,當(dāng)日早退遲到:,時(shí)間:}。 i++) { jPanel[i] = new JPanel()。 jTextArea[0].setText(())。 jPanel[6] = new JPanel()。 ()。 } } } } (6)Screen6package JM。import 。 (new ActionHappen1())。 } public static void main(String[] args) { new Screen6()。import 。JButton button = new JButton(返回首頁)。 (200, 200)。 private String 所在大學(xué)。 //對各私有屬性進(jìn)行封裝 public String get時(shí)間() { return 時(shí)間。 } public String get星期家教安排() { return 星期家教安排。 } public int get薪水() { return 薪水。 = 家教附加。public class Mteacher { //添加私有屬性 private String 姓名。 } public String get所在大學(xué)() { return 所在大學(xué)。 } public int get當(dāng)日缺勤() { return 當(dāng)日缺勤。 = 當(dāng)日附加。import 。 connection = ( jdbc:mysql://localhost:3306/java3, root, 1234)。//拋出異常,方便調(diào)試程序 } return eList。 } catch (Exception e) { new Screen6()。//如果接收的內(nèi)容不為空返回真,否則返回假 } } catch (Exception e) { new Screen6()。 (5, ())。 } return false。 } public static boolean update(Teachers wer, String n3) { String sql = update Teachers set 姓名=?, 所在大學(xué)=? , 家教對象=?, + 星期家教安排=?, 家教次數(shù)=? ,家教附加=? ,家教缺勤=? ,薪水=?,時(shí)間=? where 姓名 = ?。 (7, ())。 } return false。import 。 //此數(shù)據(jù)庫語句查詢指定姓名的Mteacher內(nèi)容 try { PreparedStatement ps = (sql)。 String sql = insert into Mteacher values(?,?,?,?,?,?)。 (6, new ().toString())。 (1, n6)。 (4)。 (7)。 (5, new ().toString())。(1, ())。 } } catch (Exception e) { new Screen6()。 (4, 0)。 (1, ())。 } } catch (Exception e) { new Screen6()。同時(shí),做這門課程設(shè)計(jì)也進(jìn)一步加強(qiáng)了我的動手能力、以及團(tuán)隊(duì)建相互配合的樂趣。 (5, new ().toString())。 if (i == 1) return true。 try { PreparedStatement ps = (sql)。 (5, new ().toString())。 } catch (Exception e) { new Screen6()。 (2, () + ())。 if (i == 1) { return true。 (())。 } return false。 (2, ())。 (mteacher)。 connection = ( jdbc:mysql://localhost:3306/java3, root, 1234)。import 。 int n = ()。 (3, ())。 //通過執(zhí)行ps插入的內(nèi)容,i接收返回值; int i = ()。 (9, new ().toString())。 (1, ())。 (1, name)。 //接受數(shù)據(jù)苦語言 (1, name)。 //構(gòu)造ps實(shí)例 ResultSet rs = ()。import 。amp。 } //添加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)日家教。 private int 當(dāng)日缺勤。 } //打印Mteacher對象的內(nèi)容 public String toString() { return **amp。 = 所在大學(xué)。 } public int get家教附加() { return 家教附加。 } public String get所在大學(xué)() { return 所在大學(xué)。 private int 家教附加。}public class ActionHappen1 implements ActionListener { public void actionPerformed(ActionEvent e) { String name = ()。 (button, )。import 。import 。 (true)。 JLabel label = new JLabel(操作失敗,請重新輸入!)。import 。 if((job,jTextArea[0].getText())amp。 (jPanel[6])。 jTextArea[4].setText(+())。 jPanel[i].add(jTextArea[i])。 public static JTextArea jTextArea[] = new JTextArea[7]。import 。import 。 //調(diào)用DBUtil中的添加方法添加新成員的各項(xiàng)業(yè)務(wù)信息欄 if ((teachers) amp。 (jPanel[8])。 jPanel[i].setLayout(new GridLayout(1, 2))。 } public Screen3() { //創(chuàng)建構(gòu)造方法初始化screen3 (new GridLayout(10, 1, 10, 10))。public class Screen3 { JLabel jLabel[] = new JLabel[9]。import 。 } else { new Screen6(
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1