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

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

?? borrowhistoryall.java~17~

?? java做書箱管理系統
?? JAVA~17~
字號:
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 borrowHistoryall 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 jButtonupdate = new JButton();  JButton jButtonlast = new JButton();  JLabel jLabel2 = new JLabel();  JButton jButtonexit = new JButton();  JTextField jTextbname = new JTextField();  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();  public borrowHistoryall() {    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  public static void main(String[] args) {    borrowHistoryall borrowHistoryall = new borrowHistoryall();  }  private void jbInit() throws Exception {    jLabel5.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel5.setText("還閱日期");    jTextcomment.setFont(new java.awt.Font("Dialog", 0, 16));    jTextcomment.setText("");    jTextrdate.setFont(new java.awt.Font("Dialog", 0, 16));    jTextrdate.setText("");    jTextpname.setFont(new java.awt.Font("Dialog", 0, 16));    jTextpname.setText("");    jButtonfirst.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonfirst.setText("第一條");     jButtonfirst.addMouseListener(new borrowHistoryall_jButtonfirst_mouseAdapter(this));    jButtonsearch.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonsearch.setText("查詢");    jButtonsearch.addMouseListener(new borrowHistoryall_jButtonsearch_mouseAdapter(this));    jButtondelete.setText("刪除");    jButtondelete.addMouseListener(new borrowHistoryall_jButtondelete_mouseAdapter(this));    jButtondelete.setFont(new java.awt.Font("Dialog", 0, 16));    jTextbname.setFont(new java.awt.Font("Dialog", 0, 16));    jTextbname.setText("");    jButtonexit.setText("退出");    jButtonexit.addMouseListener(new borrowHistoryall_jButtonexit_mouseAdapter(this));    jButtonexit.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel2.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel2.setText("書名");    jButtonlast.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonlast.setText("最后一條");    jButtonlast.addMouseListener(new borrowHistoryall_jButtonlast_mouseAdapter(this));    jButtonupdate.setText("更新");    jButtonupdate.addMouseListener(new borrowHistoryall_jButtonupdate_mouseAdapter(this));    jButtonupdate.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonpre.setText("前一條");    jButtonpre.addMouseListener(new borrowHistoryall_jButtonpre_mouseAdapter(this));    jButtonpre.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonnext.setText("后一條");     jButtonnext.addMouseListener(new borrowHistoryall_jButtonnext_mouseAdapter(this));    jButtonnext.setFont(new java.awt.Font("Dialog", 0, 16));    jTextbdate.setFont(new java.awt.Font("Dialog", 0, 16));    jTextbdate.setText("");    jLabel3.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel3.setText("借閱日起");    jLabel1.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel1.setText("借閱者姓名");    jLabel4.setFont(new java.awt.Font("Dialog", 0, 16));    jLabel4.setText("備注");    this.getContentPane().setLayout(xYLayout1);    xYLayout1.setWidth(662);    xYLayout1.setHeight(351);    this.getContentPane().add(jTextpname, new XYConstraints(226, 39, 116, 26));    this.getContentPane().add(jLabel4, new XYConstraints(72, 242, 66, 29));    this.getContentPane().add(jLabel1, new XYConstraints(75, 31, 88, 33));    this.getContentPane().add(jLabel3, new XYConstraints(74, 135, 87, 29));    this.getContentPane().add(jTextbdate, new XYConstraints(227, 136, 137, -1));    this.getContentPane().add(jButtonnext, new XYConstraints(193, 300, 89, 26));    this.getContentPane().add(jButtonpre, new XYConstraints(110, 299, 82, 26));    this.getContentPane().add(jButtonupdate, new XYConstraints(381, 301, 84, 27));    this.getContentPane().add(jButtonlast, new XYConstraints(282, 300, 98, 27));    this.getContentPane().add(jLabel2, new XYConstraints(76, 78, 89, 35));    this.getContentPane().add(jButtonexit, new XYConstraints(550, 300, 70, 28));    this.getContentPane().add(jTextbname, new XYConstraints(227, 93, 154, 23));    this.getContentPane().add(jButtondelete, new XYConstraints(464, 301, 86, 28));    this.getContentPane().add(jButtonsearch, new XYConstraints(443, 35, 104, 31));    this.getContentPane().add(jButtonfirst, new XYConstraints(23, 298, 86, 26));    this.getContentPane().add(jTextrdate, new XYConstraints(228, 182, 137, -1));    this.getContentPane().add(jTextcomment, new XYConstraints(226, 235, 324, -1));    this.getContentPane().add(jLabel5, new XYConstraints(71, 183, 87, 29));      this.setSize(600,450);  }  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 jButtonsearch_mouseClicked(MouseEvent e) {    sql="select * from BookBorrow ";        // JOptionPane.showMessageDialog(null,jCombocolor.getSelectedItem().toString().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();  }}class borrowHistoryall_jButtonsearch_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryall adaptee;  borrowHistoryall_jButtonsearch_mouseAdapter(borrowHistoryall adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonsearch_mouseClicked(e);  }}class borrowHistoryall_jButtonfirst_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryall adaptee;  borrowHistoryall_jButtonfirst_mouseAdapter(borrowHistoryall adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonfirst_mouseClicked(e);  }}class borrowHistoryall_jButtonpre_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryall adaptee;  borrowHistoryall_jButtonpre_mouseAdapter(borrowHistoryall adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonpre_mouseClicked(e);  }}class borrowHistoryall_jButtonnext_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryall adaptee;  borrowHistoryall_jButtonnext_mouseAdapter(borrowHistoryall adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonnext_mouseClicked(e);  }}class borrowHistoryall_jButtonlast_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryall adaptee;  borrowHistoryall_jButtonlast_mouseAdapter(borrowHistoryall adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonlast_mouseClicked(e);  }}class borrowHistoryall_jButtonupdate_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryall adaptee;  borrowHistoryall_jButtonupdate_mouseAdapter(borrowHistoryall adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonupdate_mouseClicked(e);  }}class borrowHistoryall_jButtondelete_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryall adaptee;  borrowHistoryall_jButtondelete_mouseAdapter(borrowHistoryall adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtondelete_mouseClicked(e);  }}class borrowHistoryall_jButtonexit_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryall adaptee;  borrowHistoryall_jButtonexit_mouseAdapter(borrowHistoryall adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonexit_mouseClicked(e);  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品久久久久久综合日本欧美| 欧美亚洲国产一区二区三区va | 不卡视频在线看| 青青国产91久久久久久| 婷婷久久综合九色综合绿巨人| 亚洲蜜臀av乱码久久精品| 亚洲特级片在线| 亚洲精品一二三区| 亚洲a一区二区| 日韩精品久久理论片| 毛片av一区二区| 老司机午夜精品| 久久99精品久久久久久久久久久久 | 欧美性生交片4| 欧美日韩成人综合| 欧美大白屁股肥臀xxxxxx| 日韩一级片网站| 久久奇米777| 日韩理论在线观看| 一二三区精品视频| 日本伊人午夜精品| 精品在线免费视频| 99久久精品国产观看| 欧美日韩亚洲综合一区| 欧美一级夜夜爽| 国产亚洲欧美中文| 亚洲综合久久久| 激情综合色综合久久综合| 成人性视频网站| 欧美电影影音先锋| 国产三级精品三级在线专区| 一区二区在线观看视频| 奇米精品一区二区三区在线观看| 国产毛片精品国产一区二区三区| 成人激情免费视频| 欧美精品在线观看播放| 国产午夜精品久久| 亚洲aⅴ怡春院| 97久久人人超碰| 精品国产伦一区二区三区观看体验| 中日韩免费视频中文字幕| 污片在线观看一区二区| 成人国产精品免费观看动漫| 91精品国产综合久久婷婷香蕉| 国产精品久久久久久福利一牛影视 | 国产一区二区久久| 欧美日韩综合色| 国产精品丝袜一区| 麻豆精品在线视频| 欧美伊人久久久久久久久影院| 国产欧美一区二区精品忘忧草| 偷拍日韩校园综合在线| 99久久综合狠狠综合久久| 日韩欧美成人一区| 亚洲一级二级在线| 成人精品国产免费网站| 久久影音资源网| 蜜臀99久久精品久久久久久软件| 色视频一区二区| 日韩久久一区二区| 国产成人日日夜夜| 久久久五月婷婷| 国产自产高清不卡| 日韩女优电影在线观看| 日韩成人精品在线| 欧美一区二区三区成人| 亚洲动漫第一页| 在线观看视频一区| 一区二区三区视频在线看| 91在线视频官网| 亚洲另类色综合网站| 91污在线观看| 中国av一区二区三区| 成人18视频日本| 最新不卡av在线| 日本精品免费观看高清观看| 亚洲男人的天堂在线观看| 色香蕉成人二区免费| 亚洲综合图片区| 欧美肥胖老妇做爰| 麻豆精品国产91久久久久久| 欧美大白屁股肥臀xxxxxx| 激情五月婷婷综合网| 国产网站一区二区| 99精品在线免费| 午夜日韩在线观看| 精品日韩在线观看| 国产盗摄精品一区二区三区在线 | 高清不卡一二三区| 中文字幕在线不卡视频| 91热门视频在线观看| 亚洲一区二区三区小说| 91精品婷婷国产综合久久性色 | 亚洲视频中文字幕| 欧美伊人久久久久久午夜久久久久| 午夜成人免费视频| 精品国产三级电影在线观看| 成人一区二区三区在线观看 | 麻豆精品视频在线观看视频| 久久久久88色偷偷免费| 91亚洲永久精品| 日本系列欧美系列| 欧美激情在线免费观看| 在线观看av不卡| 激情综合色综合久久| 亚洲美女淫视频| 欧美成人三级电影在线| 成人av网站在线观看免费| 亚洲一区av在线| 国产无一区二区| 欧美老肥妇做.爰bbww视频| 久久成人免费网站| 亚洲男人电影天堂| 久久久欧美精品sm网站| 91极品视觉盛宴| 国产乱码精品一区二区三区五月婷 | 2欧美一区二区三区在线观看视频| 成人深夜在线观看| 青青草国产成人99久久| 国产精品国产成人国产三级| 日韩午夜小视频| 色综合久久精品| 国产成人日日夜夜| 奇米综合一区二区三区精品视频| 日韩一区欧美一区| 久久毛片高清国产| 欧美一级免费大片| 91官网在线观看| 99精品桃花视频在线观看| 国产一区二区不卡在线| 日韩国产精品久久久| 亚洲综合色成人| 亚洲欧美日韩国产综合在线| 久久精品一区二区三区不卡| 欧美一区二区三区影视| 欧美日韩电影在线播放| 色欧美日韩亚洲| 91一区二区在线观看| 成人黄色在线视频| 国产精品夜夜爽| 国产福利一区在线观看| 国产裸体歌舞团一区二区| 美女网站在线免费欧美精品| 亚洲一区二区视频在线观看| 亚洲激情第一区| 亚洲理论在线观看| 玉足女爽爽91| 一区二区三区在线免费视频| 亚洲欧洲无码一区二区三区| 国产色一区二区| 国产精品亲子乱子伦xxxx裸| 久久久久久一级片| 国产欧美一区二区精品性| 国产偷国产偷精品高清尤物| 国产欧美视频在线观看| 亚洲国产精品t66y| 亚洲欧洲精品一区二区三区| 成人免费在线播放视频| 亚洲天堂av一区| 亚洲一区二区欧美日韩| 五月天国产精品| 久久国产精品第一页| 狠狠色狠狠色综合| 国产宾馆实践打屁股91| 成人av电影免费在线播放| 一本久道久久综合中文字幕| 欧美在线观看你懂的| 欧美高清精品3d| 精品国产一区二区亚洲人成毛片| 国产亚洲精品aa| 亚洲三级在线免费| 五月婷婷综合网| 国产精品一区二区三区乱码| 97久久精品人人做人人爽50路| 色哦色哦哦色天天综合| 91麻豆精品国产91久久久久久久久 | 成人sese在线| 91黄视频在线观看| 日韩午夜激情免费电影| 国产日韩一级二级三级| 亚洲综合免费观看高清完整版在线| 日韩成人免费在线| 成人免费高清视频在线观看| 欧美性受xxxx黑人xyx性爽| 精品日韩99亚洲| 综合中文字幕亚洲| 看片网站欧美日韩| 99v久久综合狠狠综合久久| 欧美日韩一区不卡| 久久先锋影音av鲁色资源 | 欧美日韩精品欧美日韩精品一| 日韩久久久久久| 一区二区三区欧美日韩| 国产一区二区三区免费| 欧美日韩一区不卡| 亚洲欧洲精品一区二区三区不卡| 免费日韩伦理电影| 日本久久一区二区| 国产日韩欧美精品一区| 美腿丝袜一区二区三区|