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-23 21:03上一頁面

下一頁面
  

【正文】 )。 } //新建監(jiān)聽類實(shí)現(xiàn)接口,給窗口中的按鈕添加監(jiān)聽 public class ActionHappen1 implements ActionListener { public void actionPerformed(ActionEvent e) { String name = ()。 jPanel[10].add(jButton2, )。 jTextArea[6].setText(() + )。 (jPanel[i])。 for (int i = 0。public class Screen2 { public static JTextArea jTextArea[] = new JTextArea[10]。import 。 } catch (Exception e2) { new Screen6()。 (28, 28, 700, 600)。 //對screen1界面當(dāng)中的按鈕添加監(jiān)聽,并布局 (new ActionHappen1())。 jTextArea[1].setText(())。 jTextArea[i] = new JTextArea(50, 50)。 //創(chuàng)建多個(gè)panel static String bString[] = {姓名:,所在大學(xué),家教對象:,星期家教安排:, 家教次數(shù),家教附加:,家教缺勤:,薪水:,時(shí)間:}。import 。} } }} (2)Screen1package JM。 (new GridLayout(3, 1))。 (jScrollPane,)。 } //構(gòu)造首頁界面 public Screen() { JPanel jPanel = new JPanel()。public class Screen { JTextArea jTextArea = new JTextArea(50, 50)。import 。Worker包當(dāng)中的Mteacher類定義單個(gè)個(gè)老是工作情況各個(gè)私有屬性,并對其進(jìn)行封裝,Teachers類定義單個(gè)學(xué)生家教的個(gè)人信息的私有屬性也對進(jìn)行封裝。11本程序根據(jù)學(xué)生家教管理的需求設(shè)置了六大主要功能,即所有家教查詢、家教添加、家教注銷、家教替換、家教記錄、家教查詢。import 。import 。 JButton jButton[] = new JButton[6]。 //給各個(gè)按鈕添加監(jiān)聽 jButton[i].addActionListener(new ActionHappen1())。 (900,500)。 } if(家教添加.equals(name)){ new Screen3()。import 。public class Screen1 { public static JTextArea jTextArea[] = new JTextArea[9]。 for (int i = 0。 (jPanel[i])。 jTextArea[6].setText(()+)。 jPanel[8].setLayout(new GridLayout(1, 2))。 if(確認(rèn)刪除.equals(name)){ try { (jTextArea[0].getText())。import 。import 。 JButton jButton2 = new JButton(取消)。 jPanel[i].add(jLabel[i])。 jTextArea[3].setText(())。 (new ActionHappen1())。 (700, 600)。 (jobs3)amp。import 。import 。 JFrame frame = new JFrame(學(xué)生家教注冊添加)。 jLabel[i] = new JLabel(bString[i])。 jPanel[8].add(jButton1, )。 (true)。 } } else if (取消.equals(name)) { new Screen()。import 。 JButton jButton1 = new JButton(確認(rèn))。 jTextArea[i] = new JTextArea(50, 50)。 jTextArea[1].setText(())。 jPanel[6].add(jButton1,)。 (true)。import 。import 。 (button, )。} public class ActionHappen1 implements ActionListener { public void actionPerformed(ActionEvent e) { String name = ()。import 。public Screen7(){ (new FlowLayout())。 ()。 private String 家教對象。 } public void set時(shí)間(String 時(shí)間) { = 時(shí)間。 } public void set星期家教安排(String 星期家教安排) { = 星期家教安排。 } public void set薪水(int 薪水) { = 薪水。 = 家教缺勤。 private String 所在大學(xué)。 } public void set所在大學(xué)(String 所在大學(xué)) { = 所在大學(xué)。 } public void set當(dāng)日缺勤(int 當(dāng)日缺勤) { = 當(dāng)日缺勤。 = 當(dāng)日缺勤。import 。 //數(shù)據(jù)庫連接端口,1234為數(shù)據(jù)庫密碼 } catch (Exception e) { } } public static ArrayListTeachers findUser() { ArrayListTeachers eList = new ArrayListTeachers()。//返回集合 } public static Teachers find(String name) { //此方法是查詢單個(gè)家教的全部信息 Teachers Teachers = null。 } return Teachers。 } return false。 (6, ())。 } //此方法為判斷是否刪除學(xué)生家教信息 public static boolean drop(String n1) { String sql = delete from Teachers where 姓名= ? 。 //此語句作用為修改指定人的所有信息 try { PreparedStatement ps = (sql)。 (8, 10 * (() + () ()))。 }}(2)Dbutil1package Jdbc。import 。 (1, n3)。 (5)。 int i = ()。 ResultSet rs = ()。 try { PreparedStatement ps = (sql)。 try { PreparedStatement ps = (sql)。 (6, n8)。 (2, ())。 } return false。 (5, 0)。 (2, ())。 } return false。53。通過這次的課程設(shè)計(jì),使將我從書本上學(xué)習(xí)到的理論知識(shí)得到了實(shí)踐,從而進(jìn)一步鞏固和豐富了我所學(xué)過的知識(shí)。 (4, 10 * (() + () ()))。 int i = ()。// 有錯(cuò) (3)。 (4, 10 * (() + () ()))。 if (n == 1) return true。 (1, () + ())。 int i = ()。 jobs1 = new Mteacher((1), (2), (3), (4), (5), (6))。 } } catch (Exception e) { ()。 (1, ())。 while(()){ mteacher = new Mteacher((1), (2), rs .getInt(3), (4), (5), (6))。 static { try { ()。import 。 //向ps中加入一個(gè)現(xiàn)在時(shí)間,即為修改時(shí)間,存入數(shù)據(jù)庫 (10, n3)。 (2, ())。 (1, n1)。 (8, (() + () ()) * 10)。 //此數(shù)據(jù)庫語言為插入添加家教數(shù)據(jù)庫成員 try { PreparedStatement ps = (sql)。 //此數(shù)據(jù)庫語言負(fù)責(zé)查詢指定姓名的讓的內(nèi)容 try { PreparedStatement ps = (sql)。 //數(shù)據(jù)庫語言查詢指定姓名人的信息 try { PreparedStatement ps = (sql)。//數(shù)據(jù)庫查詢語句查詢所有學(xué)生家教的信息 try { PreparedStatement ps = (sql)。import 。 } //打印Mteacher對象的內(nèi)容 public String toString() { return **amp。 = 時(shí)間。 } public void set時(shí)間(String 時(shí)間) { = 時(shí)間。 private int 當(dāng)日附加。 = 時(shí)間。 = 姓名。 } public void set家教次數(shù)(int 家教次數(shù)) { = 家教次數(shù)。 } public void set姓名(String 姓名) { = 姓名。 private int 家教次數(shù)。 }public static void main(String[] args) { new Screen7()。 (new ActionHappen1())。import 。 } } }} (7)Screen7package JM。 (panel)。 JPanel panel = new JPanel()。import 。 if(確認(rèn).equals(name)){ //獲取窗口中各項(xiàng)文本框?qū)?yīng)內(nèi)容,創(chuàng)建一個(gè)Mteacher Mteacher job = new Mteacher(jTextArea[0].getText(), jTextArea[1].getText(), (jTextArea[2].getText(),10),(jTextArea[3].getText(),10), (jTextArea[4].getText(),10), new ().toString())。 jPanel[6].setLayout(new GridLayout(1, 2))。 jTextArea[3].setText(+())。 jPanel[i].add(jLabel[i])。 JFrame frame = new JFrame(家教當(dāng)日情況)。import 。import 。 if (確認(rèn)添加.equals(name))
點(diǎn)擊復(fù)制文檔內(nèi)容
試題試卷相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1