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

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

?? borrowhistoryall.java~13~

?? 實現圖書借閱 歸還 增加圖書 刪除圖書 用java 和 access 開發
?? JAVA~13~
字號:
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));  }  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 bookname='"+jTextbname.getText().trim() +"',";     // sql=sql+" press='"+jTextpress.getText().trim() +"',";     // sql=sql+" author='"+jTextauthor.getText().trim() +"', ";    //  sql=sql+" address='"+jTextaddress.getText().trim() +"', ";    //  sql=sql+" pressdate='"+jTextdate.getText().trim() +"', ";    //  sql=sql+" price='"+jTextprice.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) {  }  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一区二区三区免费野_久草精品视频
高清久久久久久| 在线亚洲免费视频| 亚洲国产精品激情在线观看| 99久久99久久精品免费看蜜桃| 亚洲综合激情另类小说区| 久久精品人人做人人爽人人| 在线观看亚洲a| 91女厕偷拍女厕偷拍高清| 国内成人免费视频| 亚洲女与黑人做爰| 亚洲最色的网站| 一区二区三区日韩在线观看| 中文字幕日本乱码精品影院| 欧美视频完全免费看| 国产午夜精品在线观看| 成人app网站| 一区精品在线播放| 欧美亚洲禁片免费| 欧洲激情一区二区| 欧美在线啊v一区| 欧美色视频一区| 91国产免费看| 欧美美女激情18p| 欧美mv日韩mv国产网站| 精品少妇一区二区三区在线播放 | 欧美亚洲高清一区| 99免费精品在线| 97久久人人超碰| 色综合久久天天| 欧美一三区三区四区免费在线看| 日韩欧美激情在线| 国产日韩欧美一区二区三区乱码 | 18欧美亚洲精品| 亚洲综合在线免费观看| 欧美视频精品在线| 在线观看日韩av先锋影音电影院| 国产精品自拍一区| 亚洲摸摸操操av| 一区二区在线观看av| 亚洲欧美一区二区三区孕妇| 91精品一区二区三区在线观看| 欧美久久一二三四区| 欧美日韩电影在线| 久久综合九色综合97_久久久| 日韩欧美在线1卡| 久久女同互慰一区二区三区| 日韩免费观看高清完整版在线观看| 欧美一区二区三区免费大片 | 色域天天综合网| 91美女视频网站| 欧美一区二区视频在线观看| 欧美视频三区在线播放| 精品理论电影在线| 一区二区三区日本| 国产一区福利在线| 欧美色老头old∨ideo| 精品国产乱码久久久久久牛牛| 国产精品动漫网站| 亚洲久本草在线中文字幕| 国内精品久久久久影院一蜜桃| 99视频精品免费视频| 欧美一区二区网站| 一区二区三区在线免费观看| 国产成人午夜电影网| 日韩一区二区三免费高清| 亚洲摸摸操操av| 国产福利一区二区三区| 欧美电视剧免费全集观看| 久久精品国产精品青草| 国产丝袜欧美中文另类| 精品国产91久久久久久久妲己| 成人性视频免费网站| 精品久久久久久久久久久久久久久久久| 国产在线视频一区二区| 中文字幕欧美一| 精品国产髙清在线看国产毛片| 粉嫩一区二区三区在线看| 亚洲成av人片www| 国产女同性恋一区二区| 欧美一区二区三区在线观看| 成人美女视频在线看| 激情五月婷婷综合| 亚洲大片在线观看| 视频在线在亚洲| 久久综合色综合88| 91精品国产一区二区三区香蕉| 成年人午夜久久久| 国产一区在线观看麻豆| 亚洲狠狠爱一区二区三区| 在线不卡免费欧美| 国产一级精品在线| 国产精品久久久久一区二区三区 | 亚洲视频一区二区在线| 欧美日韩一本到| 国产麻豆午夜三级精品| 亚洲一区二区在线播放相泽| 欧美成人性福生活免费看| 丁香六月久久综合狠狠色| 五月天久久比比资源色| 中文字幕亚洲在| 精品久久久三级丝袜| 欧美日韩精品一区二区三区 | 欧美性色综合网| 国产a区久久久| 麻豆成人在线观看| 亚洲综合网站在线观看| 国产精品短视频| 亚洲国产毛片aaaaa无费看| 国产欧美日韩精品a在线观看| 欧美一级高清大全免费观看| 色88888久久久久久影院按摩| 懂色av中文一区二区三区| 寂寞少妇一区二区三区| 国产一区二区三区四区五区入口| 免费成人深夜小野草| 日韩精品电影一区亚洲| 亚洲第一会所有码转帖| 亚洲一区免费视频| 日韩高清不卡在线| 日韩1区2区日韩1区2区| 男人的天堂久久精品| 久久aⅴ国产欧美74aaa| 国产一区二区三区在线观看精品| 国产一区不卡视频| 成人av电影在线网| 欧美日韩视频第一区| 欧美日韩成人综合在线一区二区| 欧美男生操女生| 久久嫩草精品久久久久| 亚洲日本在线视频观看| 午夜视频一区在线观看| 国产一区欧美二区| 99re66热这里只有精品3直播| 在线免费观看日本欧美| 天天影视涩香欲综合网| 免费在线欧美视频| 日本sm残虐另类| 高潮精品一区videoshd| 在线观看免费一区| 久久蜜桃av一区二区天堂| 一区二区成人在线观看| 国产一区二区三区在线观看免费| 国产成人精品亚洲777人妖| www.日本不卡| 久久一二三国产| 亚洲高清免费观看高清完整版在线观看| 日韩黄色小视频| 99久久综合国产精品| 日韩精品一区二区三区蜜臀| 亚洲国产高清aⅴ视频| 日韩电影免费一区| 51精品秘密在线观看| 亚洲综合精品自拍| 91久久精品一区二区| 国产精品久久久久aaaa| 国产精品一区在线观看乱码| 欧美日韩免费电影| 亚洲国产精品精华液2区45| 国产露脸91国语对白| 精品国产区一区| 国产福利91精品一区| 中文字幕久久午夜不卡| 91一区在线观看| 日韩一区中文字幕| 欧美午夜精品久久久久久超碰 | 丁香六月综合激情| 国产精品夫妻自拍| 欧美色国产精品| 热久久一区二区| 国产亚洲美州欧州综合国| 国产精品亚洲一区二区三区在线| 欧美国产丝袜视频| 欧美专区日韩专区| 久久99精品久久久久久| 国产三级一区二区三区| 91香蕉国产在线观看软件| 亚洲福利视频一区| 久久精品一区四区| 欧美日韩一区小说| 国产高清一区日本| 亚洲一本大道在线| 久久只精品国产| 欧美最新大片在线看| 国产精品18久久久久久久网站| 亚洲精品videosex极品| 欧美激情一区二区三区在线| 欧美日韩视频不卡| 99re热这里只有精品免费视频| 午夜电影网亚洲视频| 国产精品久久看| 久久久久久久综合狠狠综合| 欧美吻胸吃奶大尺度电影| av亚洲产国偷v产偷v自拍| 激情五月播播久久久精品| 捆绑变态av一区二区三区| 亚洲成人自拍网| 亚瑟在线精品视频| 亚洲高清免费一级二级三级| 综合亚洲深深色噜噜狠狠网站| 久久久99久久|