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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? borrowhistorybystudentname.java~16~

?? 這是一個用JAVA編寫的書籍借閱管理系統(tǒng)
?? JAVA~16~
字號:
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,520);  }  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 BookBorrow 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 BookBorrow ";       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);  }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩影院在线观看| 亚洲免费观看高清完整版在线| 欧美欧美欧美欧美| 欧美一区二区精品在线| 国产午夜亚洲精品羞羞网站| 亚洲激情男女视频| 韩国女主播成人在线观看| 成人国产电影网| 6080yy午夜一二三区久久| 中文字幕制服丝袜一区二区三区| 香蕉影视欧美成人| 成人开心网精品视频| 日韩欧美在线1卡| 亚洲一区视频在线| 国产成人午夜精品影院观看视频 | 日本一区二区三区国色天香| 婷婷久久综合九色综合伊人色| 成人在线视频一区二区| 1区2区3区国产精品| 成人免费毛片a| 一区二区三区.www| 91免费观看在线| 国产日韩影视精品| 91麻豆产精品久久久久久| 亚洲成a人片在线不卡一二三区| 日韩一区二区三区四区五区六区| 国产精品996| 久久久美女毛片| 国内精品免费在线观看| 亚洲色图欧洲色图| 99精品热视频| 综合激情网...| 日韩午夜三级在线| 91色porny在线视频| 日韩高清不卡一区二区三区| 欧美日韩一区二区三区在线 | 亚洲高清在线视频| 欧美日韩中文字幕一区二区| 另类小说欧美激情| 日韩精品一区二区三区视频播放| 午夜精品福利一区二区蜜股av| 精品福利av导航| 精品亚洲欧美一区| 欧美激情一区在线观看| proumb性欧美在线观看| 亚洲欧美在线观看| 欧美mv和日韩mv的网站| 国内不卡的二区三区中文字幕| 亚洲在线视频一区| 国产精品久久久久久久蜜臀| 日韩一二三区不卡| 欧美日韩视频在线第一区| av在线综合网| 国产精品一卡二卡| 久久99这里只有精品| 亚洲成a人片在线观看中文| 亚洲欧美区自拍先锋| 26uuu国产一区二区三区| 福利一区在线观看| 一区二区三区精密机械公司| 中文字幕欧美日本乱码一线二线| 日韩三级在线观看| 欧美日韩在线三级| 欧美亚男人的天堂| 奇米影视在线99精品| 国产日韩视频一区二区三区| 日韩欧美成人一区二区| 制服丝袜中文字幕亚洲| 欧美中文字幕一区二区三区| 激情文学综合网| 美日韩一区二区| 成人免费在线视频| 国产精品免费看片| 欧美电影影音先锋| 成人短视频下载| 高清在线观看日韩| 国产精品亚洲午夜一区二区三区| 久久国产生活片100| 蜜桃视频免费观看一区| 日本麻豆一区二区三区视频| 日韩电影在线一区二区三区| 日韩精品免费专区| 丝袜脚交一区二区| 蜜臀久久久99精品久久久久久| 午夜不卡在线视频| 日本va欧美va精品发布| 美女视频第一区二区三区免费观看网站| 视频一区国产视频| 久久精品99久久久| 国产精华液一区二区三区| 国产丶欧美丶日本不卡视频| 成人丝袜视频网| 91亚洲午夜精品久久久久久| 欧美亚洲综合在线| 欧美日韩国产综合久久| 日韩欧美亚洲国产另类| 免费成人美女在线观看.| 国产成人a级片| 久草在线在线精品观看| 激情综合网天天干| 国产suv精品一区二区三区| 成人理论电影网| 日本高清不卡在线观看| 国内成+人亚洲+欧美+综合在线 | av成人动漫在线观看| 欧美在线你懂得| 日韩欧美国产三级电影视频| 亚洲国产精品av| 午夜精品福利一区二区三区av| 狠狠色伊人亚洲综合成人| 99久久免费精品高清特色大片| 欧美日韩亚洲不卡| 久久毛片高清国产| 亚洲色图一区二区三区| 麻豆精品视频在线观看视频| 大美女一区二区三区| 欧美日韩综合色| 欧美国产乱子伦 | 国产精品视频免费看| 夜夜精品视频一区二区| 精品一区二区三区影院在线午夜| 99久精品国产| 精品国产伦理网| 樱花草国产18久久久久| 国产在线视频不卡二| 色婷婷综合久久久久中文| 成人做爰69片免费看网站| 欧美最新大片在线看| 久久久久久久久久久99999| 亚洲综合无码一区二区| 国产酒店精品激情| 欧美日韩你懂得| 中文字幕一区二区三区不卡在线 | 26uuu久久天堂性欧美| 亚洲一区在线观看网站| 国产激情精品久久久第一区二区 | 中文字幕日韩av资源站| 免费观看91视频大全| 在线观看一区二区精品视频| 欧美激情综合在线| 久久疯狂做爰流白浆xx| 欧美揉bbbbb揉bbbbb| 综合久久久久久久| 高清beeg欧美| 久久免费看少妇高潮| 日韩电影一区二区三区四区| 一本大道久久a久久精品综合| 国产日韩精品一区二区三区在线| 日韩黄色片在线观看| 色琪琪一区二区三区亚洲区| 中文幕一区二区三区久久蜜桃| 看电影不卡的网站| 欧美美女一区二区| 亚洲一区二区三区视频在线 | 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 日韩av中文字幕一区二区| 欧美亚一区二区| 亚洲一区二区三区四区不卡| 91成人在线精品| 亚洲一区二区偷拍精品| 欧美丝袜丝nylons| 亚洲一区免费观看| 欧美日韩精品免费| 丝袜美腿高跟呻吟高潮一区| 欧美欧美欧美欧美首页| 亚洲一区二区三区四区中文字幕| 在线观看视频一区二区欧美日韩| 亚洲乱码精品一二三四区日韩在线| 99视频精品全部免费在线| 中文字幕欧美国产| 99re8在线精品视频免费播放| 中文字幕在线一区免费| 91在线观看地址| 夜夜爽夜夜爽精品视频| 欧美美女喷水视频| 精品一区二区三区在线视频| 亚洲精品一线二线三线| 国产大陆精品国产| 国产精品国产a级| 欧美在线小视频| 日本中文字幕一区二区视频 | 中文字幕av一区二区三区高 | 91美女片黄在线观看91美女| 亚洲欧美偷拍另类a∨色屁股| 日本道在线观看一区二区| 亚洲国产精品久久一线不卡| 91麻豆精品国产91久久久久| 久久精品72免费观看| 国产欧美中文在线| 日本久久电影网| 免费不卡在线观看| 欧美精彩视频一区二区三区| 91免费观看在线| 全部av―极品视觉盛宴亚洲| 久久久久久久久久看片| www.一区二区| 午夜a成v人精品| 国产午夜精品一区二区| 色综合久久久久综合| 日av在线不卡|