亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? borrowhistorybystudentname.java~15~

?? java做書箱管理系統
?? JAVA~15~
字號:
package bookmanager;import javax.swing.*;import com.borland.jbcl.layout.*;import java.awt.*;import java.sql.*;import java.awt.event.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2003</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class borrowHistoryBystudentname extends JFrame {  ResultSet rs;    //resultset String sql; private DBManager db =new DBManager();  XYLayout xYLayout1 = new XYLayout();  JLabel jLabel4 = new JLabel();  JLabel jLabel1 = new JLabel();  JLabel jLabel3 = new JLabel();  JTextField jTextbdate = new JTextField();  JButton jButtonnext = new JButton();  JButton jButtonpre = new JButton();  JButton jButtonlast = new JButton();  JButton jButtonupdate = new JButton();  JLabel jLabel2 = new JLabel();  JTextField jTextbname = new JTextField();  JButton jButtonexit = new JButton();  JButton jButtondelete = new JButton();  JButton jButtonsearch = new JButton();  JButton jButtonfirst = new JButton();  JTextField jTextpname = new JTextField();  JTextField jTextrdate = new JTextField();  JTextField jTextcomment = new JTextField();  JLabel jLabel5 = new JLabel();  JPanel jPanel1 = new JPanel();  XYLayout xYLayout2 = new XYLayout();  public borrowHistoryBystudentname() {    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  public static void main(String[] args) {    borrowHistoryBystudentname borrowHistoryBystudentname = new borrowHistoryBystudentname();  }  private void jbInit() throws Exception {    jLabel5.setText("還閱日期");    jLabel5.setFont(new java.awt.Font("Dialog", 0, 16));    jTextcomment.setText("");    jTextcomment.setFont(new java.awt.Font("Dialog", 0, 16));    jTextrdate.setText("");    jTextrdate.setFont(new java.awt.Font("Dialog", 0, 16));    jTextpname.setText("");    jTextpname.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonfirst.setText("第一條");    jButtonfirst.addMouseListener(new borrowHistoryBystudentname_jButtonfirst_mouseAdapter(this));    jButtonfirst.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonsearch.setText("查詢");    jButtonsearch.addMouseListener(new borrowHistoryBystudentname_jButtonsearch_mouseAdapter(this));    jButtonsearch.setFont(new java.awt.Font("Dialog", 0, 16));    jButtondelete.setFont(new java.awt.Font("Dialog", 0, 16));    jButtondelete.setText("刪除");    jButtondelete.addMouseListener(new borrowHistoryBystudentname_jButtondelete_mouseAdapter(this));    jButtonexit.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonexit.setText("退出");    jButtonexit.addMouseListener(new borrowHistoryBystudentname_jButtonexit_mouseAdapter(this));    jTextbname.setText("");    jTextbname.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel2.setText("書名");    jLabel2.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonupdate.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonupdate.setText("更新");    jButtonupdate.addMouseListener(new borrowHistoryBystudentname_jButtonupdate_mouseAdapter(this));    jButtonlast.setText("最后一條");    jButtonlast.addMouseListener(new borrowHistoryBystudentname_jButtonlast_mouseAdapter(this));    jButtonlast.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonpre.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonpre.setText("前一條");    jButtonpre.addMouseListener(new borrowHistoryBystudentname_jButtonpre_mouseAdapter(this));    jButtonnext.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonnext.setText("后一條");    jButtonnext.addMouseListener(new borrowHistoryBystudentname_jButtonnext_mouseAdapter(this));    jTextbdate.setText("");    jTextbdate.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel3.setText("借閱日起");    jLabel3.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel1.setText("借閱者姓名");    jLabel1.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel4.setText("備注");    jLabel4.setFont(new java.awt.Font("Dialog", 0, 16));    this.getContentPane().setLayout(xYLayout1);    xYLayout1.setWidth(656);    xYLayout1.setHeight(395);    jPanel1.setLayout(xYLayout2);    jPanel1.setBorder(BorderFactory.createLineBorder(Color.black));    this.addMouseListener(new borrowHistoryBystudentname_this_mouseAdapter(this));    this.getContentPane().add(jButtonsearch, new XYConstraints(441, 35, 104, 31));    this.getContentPane().add(jPanel1,   new XYConstraints(26, 88, 611, 229));    jPanel1.add(jTextbname, new XYConstraints(220, 29, 154, 23));    jPanel1.add(jTextrdate, new XYConstraints(221, 118, 137, -1));    jPanel1.add(jLabel4, new XYConstraints(65, 178, 66, 29));    jPanel1.add(jLabel3, new XYConstraints(67, 71, 87, 29));    jPanel1.add(jTextbdate, new XYConstraints(220, 72, 137, -1));    jPanel1.add(jLabel2, new XYConstraints(69, 14, 89, 35));    jPanel1.add(jTextcomment, new XYConstraints(219, 171, 324, -1));    jPanel1.add(jLabel5, new XYConstraints(64, 119, 87, 29));    this.getContentPane().add(jButtonnext, new XYConstraints(202, 346, 89, 26));    this.getContentPane().add(jButtonpre, new XYConstraints(119, 345, 82, 26));    this.getContentPane().add(jButtonlast, new XYConstraints(291, 346, 98, 27));    this.getContentPane().add(jButtonupdate, new XYConstraints(390, 347, 84, 27));    this.getContentPane().add(jButtonexit, new XYConstraints(559, 346, 70, 28));    this.getContentPane().add(jButtondelete, new XYConstraints(473, 347, 86, 28));    this.getContentPane().add(jButtonfirst, new XYConstraints(32, 344, 86, 26));    this.getContentPane().add(jTextpname, new XYConstraints(246, 42, 116, 26));    this.getContentPane().add(jLabel1, new XYConstraints(92, 39, 88, 33));        this.setSize(600,480);  }  void showResult(){   try {       jTextpname.setText(rs.getString("studentname") );      jTextbname.setText(rs.getString("bookname") );      jTextbdate.setText(rs.getString("borrowdate") );      jTextrdate.setText(rs.getString("returndate") );      jTextcomment.setText(rs.getString("comment") );       }    catch (SQLException ex) {       } }  void this_mouseClicked(MouseEvent e) {    sql="select * from BookBorrow ";                // JOptionPane.showMessageDialog(null,jCombocolor.getSelectedItem().toString().trim() );                       if (jTextpname.getText().trim().length() ==0)                       {}                       else                       {                          sql=sql+"  where  studentname='"+jTextpname.getText().trim()+"'";                       }                        rs =db.getResult(sql);                       try {                         if(! rs.equals(null) )                         {  rs.next();                            showResult();                         }                       }                       catch (SQLException ex) {                          JOptionPane.showMessageDialog(null," search failed!");                       }  }  void jButtonfirst_mouseClicked(MouseEvent e) {    try {              rs.first() ;              showResult();           }           catch (SQLException ex) {           }  }  void jButtonpre_mouseClicked(MouseEvent e) {    try {                if(! rs.isFirst() )                {  rs.previous();                   showResult();                }              }              catch (SQLException ex) {              }  }  void jButtonnext_mouseClicked(MouseEvent e) {    try {                if(! rs.isLast())                 {  rs.next();                    showResult();                 }               }                   catch (SQLException ex) {                     }  }  void jButtonlast_mouseClicked(MouseEvent e) {    try {                  rs.last();                   showResult();                }                catch (SQLException ex) {                }  }  void jButtonupdate_mouseClicked(MouseEvent e) {//update      sql="update Books set borrowdate='"+jTextbdate.getText().trim() +"',";      sql=sql+" returndate ='"+jTextrdate.getText().trim() +"',";      sql=sql+" comment ='"+jTextcomment.getText().trim() +"'";      sql=sql+" where studentname='"+jTextpname.getText() +"'";      sql=sql+" and bookname='"+jTextbname.getText() +"'";      if(db.executeSql(sql))          {             JOptionPane.showMessageDialog(null,"successed!");          }     else          {             JOptionPane.showMessageDialog(null,"failed!");          }  }  void jButtondelete_mouseClicked(MouseEvent e) {    sql="delete from Books ";       sql=sql+" where studentname='"+jTextpname.getText() +"'";       sql=sql+" and bookname='"+jTextbname.getText() +"'";                       if(db.executeSql(sql))                        System.out.println(sql+"delete successed!") ;                      else                         System.out.println(sql+"delete failed!!!") ;  }  void jButtonexit_mouseClicked(MouseEvent e) {  dispose();  }  void jButtonsearch_mouseClicked(MouseEvent e) {    sql="select * from BookBorrow ";                // JOptionPane.showMessageDialog(null,jCombocolor.getSelectedItem().toString().trim() );                       if (jTextbname.getText().trim().length() ==0)                       {}                       else                       {                          sql=sql+"  where  studentname='"+jTextpname.getText().trim()+"'";                       }                        rs =db.getResult(sql);                       try {                         if(! rs.equals(null) )                         {  rs.next();                            showResult();                         }                       }                       catch (SQLException ex) {                          JOptionPane.showMessageDialog(null," search failed!");                       }  }}class borrowHistoryBystudentname_this_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBystudentname adaptee;  borrowHistoryBystudentname_this_mouseAdapter(borrowHistoryBystudentname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.this_mouseClicked(e);  }}class borrowHistoryBystudentname_jButtonfirst_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBystudentname adaptee;  borrowHistoryBystudentname_jButtonfirst_mouseAdapter(borrowHistoryBystudentname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonfirst_mouseClicked(e);  }}class borrowHistoryBystudentname_jButtonpre_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBystudentname adaptee;  borrowHistoryBystudentname_jButtonpre_mouseAdapter(borrowHistoryBystudentname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonpre_mouseClicked(e);  }}class borrowHistoryBystudentname_jButtonnext_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBystudentname adaptee;  borrowHistoryBystudentname_jButtonnext_mouseAdapter(borrowHistoryBystudentname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonnext_mouseClicked(e);  }}class borrowHistoryBystudentname_jButtonlast_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBystudentname adaptee;  borrowHistoryBystudentname_jButtonlast_mouseAdapter(borrowHistoryBystudentname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonlast_mouseClicked(e);  }}class borrowHistoryBystudentname_jButtonupdate_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBystudentname adaptee;  borrowHistoryBystudentname_jButtonupdate_mouseAdapter(borrowHistoryBystudentname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonupdate_mouseClicked(e);  }}class borrowHistoryBystudentname_jButtondelete_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBystudentname adaptee;  borrowHistoryBystudentname_jButtondelete_mouseAdapter(borrowHistoryBystudentname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtondelete_mouseClicked(e);  }}class borrowHistoryBystudentname_jButtonexit_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBystudentname adaptee;  borrowHistoryBystudentname_jButtonexit_mouseAdapter(borrowHistoryBystudentname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonexit_mouseClicked(e);  }}class borrowHistoryBystudentname_jButtonsearch_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBystudentname adaptee;  borrowHistoryBystudentname_jButtonsearch_mouseAdapter(borrowHistoryBystudentname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonsearch_mouseClicked(e);  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区二区不卡| 午夜日韩在线观看| 亚洲妇熟xx妇色黄| 国产精品亚洲综合一区在线观看| 91影院在线观看| 国产免费久久精品| 老司机免费视频一区二区| 欧美日韩在线亚洲一区蜜芽| 中文字幕一区二区三区四区不卡| 激情av综合网| 91精品国产入口| 午夜a成v人精品| 97久久人人超碰| 国产精品女人毛片| 国v精品久久久网| 久久久青草青青国产亚洲免观| 免费观看成人av| 欧美老女人第四色| 亚洲电影中文字幕在线观看| 欧美在线一二三| 18成人在线观看| av在线不卡网| 亚洲人成网站精品片在线观看| 成人免费av在线| 国产精品成人免费在线| 成人综合婷婷国产精品久久 | 日韩一区有码在线| 国产91精品久久久久久久网曝门 | 精品夜夜嗨av一区二区三区| 欧美理论片在线| 五月天婷婷综合| 欧美一二三区在线观看| 久久成人久久鬼色| 久久综合九色综合欧美98| 国产一区二区在线看| 久久婷婷国产综合精品青草| 国产精品亚洲午夜一区二区三区 | 国产一区二区成人久久免费影院 | 亚洲电影你懂得| 欧美色成人综合| 日韩av在线免费观看不卡| 日韩午夜av一区| 国内成人精品2018免费看| 国产亚洲精品免费| 99久久99久久精品国产片果冻| 亚洲欧美日韩在线| 欧美日韩国产精品成人| 麻豆成人av在线| 欧美极品xxx| 欧美亚一区二区| 麻豆国产一区二区| 国产精品无圣光一区二区| 日本韩国欧美国产| 蜜桃av一区二区三区| 欧美国产1区2区| 91久久精品国产91性色tv| 热久久免费视频| 亚洲国产精品成人综合 | 丝袜美腿成人在线| 久久久久久久国产精品影院| 91啦中文在线观看| 久久激情五月激情| 亚洲图片另类小说| 精品免费国产一区二区三区四区| 国产91在线|亚洲| 午夜精品福利视频网站| 国产婷婷精品av在线| 欧美三级电影在线看| 国产激情视频一区二区在线观看| 亚洲欧美韩国综合色| 欧美tk—视频vk| 在线免费亚洲电影| 国产精品一二一区| 午夜欧美视频在线观看| 久久久精品综合| 欧美高清激情brazzers| 不卡的av电影在线观看| 捆绑紧缚一区二区三区视频| 日韩理论电影院| 久久久av毛片精品| 欧美一区二区三区在线视频| 91视频观看免费| 风间由美一区二区三区在线观看 | 2020国产精品久久精品美国| 欧洲亚洲精品在线| 丁香啪啪综合成人亚洲小说 | 一区二区欧美国产| 国产亚洲欧美日韩在线一区| 在线电影一区二区三区| 91日韩在线专区| 成人午夜碰碰视频| 国产在线精品一区二区夜色| 五月开心婷婷久久| 亚洲欧美一区二区三区久本道91| 国产欧美日本一区视频| 精品乱码亚洲一区二区不卡| 欧美精品tushy高清| 色噜噜偷拍精品综合在线| 成人动漫视频在线| 国产成人午夜精品影院观看视频 | 精品国产不卡一区二区三区| 欧美日本在线播放| 欧美日韩大陆一区二区| 91国偷自产一区二区开放时间| 波波电影院一区二区三区| 成人午夜av在线| 国产成人免费视频一区| 国产成人精品亚洲日本在线桃色 | 免费成人在线播放| 青娱乐精品在线视频| 免费一级欧美片在线观看| 日韩福利视频网| 免费三级欧美电影| 精品一区二区三区蜜桃| 久久成人久久爱| 国产一区二区在线影院| 国产精品一区二区果冻传媒| 国产精品99久久久久久似苏梦涵 | 亚洲日本中文字幕区| 亚洲色图欧洲色图| 亚洲综合丝袜美腿| 亚洲福利国产精品| 裸体健美xxxx欧美裸体表演| 蜜桃视频在线观看一区二区| 国产美女av一区二区三区| 懂色一区二区三区免费观看| 92精品国产成人观看免费| 91久久国产最好的精华液| 91精品一区二区三区在线观看| 欧美不卡一区二区三区| 中文字幕欧美国产| 亚洲一区欧美一区| 免费不卡在线视频| 高清久久久久久| 色婷婷av一区二区三区大白胸| 欧美久久久久久久久| 久久久亚洲精品石原莉奈| 国产欧美日韩不卡| 亚洲国产精品麻豆| 久久不见久久见免费视频1| 成人在线一区二区三区| 欧美性色综合网| 欧美成人精品福利| 国产精品传媒入口麻豆| 成熟亚洲日本毛茸茸凸凹| 在线中文字幕不卡| 日韩精品一区二区三区视频在线观看| 国产午夜亚洲精品理论片色戒| 亚洲欧美日韩在线不卡| 久久国产夜色精品鲁鲁99| 99re视频精品| 精品捆绑美女sm三区| 国产精品美女久久福利网站| 日韩电影在线免费看| 成人福利在线看| 日韩欧美三级在线| 一区二区三区在线观看国产| 国产一区在线不卡| 欧美专区日韩专区| 中文字幕第一区二区| 男人的j进女人的j一区| 一本到高清视频免费精品| 精品动漫一区二区三区在线观看| 亚洲激情自拍视频| 国产成人丝袜美腿| 欧美一区二区三区啪啪| 亚洲精品欧美在线| 国模娜娜一区二区三区| 3751色影院一区二区三区| 亚洲视频综合在线| 国产高清精品网站| 欧美一区二区在线观看| 亚洲小说春色综合另类电影| 97久久精品人人澡人人爽| 久久夜色精品国产欧美乱极品| 五月天激情综合网| 欧美在线一二三| 亚洲女女做受ⅹxx高潮| 成人av免费在线| 国产欧美一区二区精品性色| 精品中文字幕一区二区小辣椒 | 成人av网站在线| 久久久久久久久久久黄色| 蜜桃精品在线观看| 欧美一区二区大片| 丝袜亚洲另类丝袜在线| 欧美性欧美巨大黑白大战| 亚洲综合视频网| 欧美视频在线一区二区三区| 亚洲美女区一区| 91福利小视频| 亚洲一区二区成人在线观看| 欧洲av一区二区嗯嗯嗯啊| 一区二区三区四区不卡在线| 日本高清免费不卡视频| 亚洲一区二区三区自拍| 欧美人xxxx| 青娱乐精品视频在线| 欧美精品一区二区三区很污很色的 | 中文字幕欧美日本乱码一线二线 |