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

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

?? borrowhistoryall.java~19~

?? java做書箱管理系統
?? JAVA~19~
字號:
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,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 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 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();  }}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一区二区三区免费野_久草精品视频
精品一区二区三区香蕉蜜桃| 天天操天天色综合| 亚洲精品精品亚洲| 欧美一区二区三区四区在线观看| 久久精品久久精品| 成人午夜av电影| 中文字幕欧美日本乱码一线二线| 在线成人小视频| 国产91精品精华液一区二区三区 | 99精品欧美一区二区蜜桃免费 | 亚洲激情图片小说视频| 精品国产伦一区二区三区观看方式 | 久久久噜噜噜久噜久久综合| 欧美日韩一区二区三区免费看| 亚洲欧美日韩国产一区二区三区| 91麻豆蜜桃一区二区三区| 蜜桃免费网站一区二区三区| 亚洲精品免费电影| 91久久免费观看| 国产乱人伦偷精品视频免下载| 亚洲国产精品久久人人爱| 国产成人综合亚洲91猫咪| 91麻豆自制传媒国产之光| 精品国产电影一区二区| 一本久道久久综合中文字幕| 青椒成人免费视频| 亚洲精品福利视频网站| 国产乱理伦片在线观看夜一区| 欧美性生活久久| 国产一区二区美女| 亚洲第一av色| 91日韩精品一区| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲电影一区二区| 成人免费毛片片v| 午夜激情综合网| 亚洲视频一区二区在线| 日韩欧美中文字幕制服| 亚洲狼人国产精品| 日本一区二区三区电影| 欧美一区二区三区性视频| 丝袜美腿亚洲一区二区图片| 欧美午夜精品一区二区蜜桃| 日本欧美加勒比视频| k8久久久一区二区三区| 国产乱人伦偷精品视频免下载| 日韩视频免费观看高清完整版在线观看| 欧美写真视频网站| av激情成人网| 国产成人精品aa毛片| 久久影音资源网| eeuss鲁片一区二区三区在线看| 亚洲精品在线电影| 欧美电影免费观看完整版| 奇米精品一区二区三区在线观看一 | 婷婷综合五月天| 精品国产免费人成电影在线观看四季 | 免费欧美日韩国产三级电影| 欧美群妇大交群的观看方式| 九一久久久久久| 日本aⅴ精品一区二区三区| 国产欧美日韩激情| 欧美成人精品3d动漫h| 日韩视频不卡中文| 日韩一级免费观看| 久久久久久99精品| 精品一区二区三区久久| 欧美高清www午色夜在线视频| 亚洲国产精品一区二区www| 亚洲免费在线观看视频| 99久久国产综合精品女不卡| 99re66热这里只有精品3直播| 奇米亚洲午夜久久精品| 日韩一区二区在线看| 日韩电影免费在线看| 蜜臀精品久久久久久蜜臀| 激情综合五月天| 激情欧美一区二区三区在线观看| 粉嫩在线一区二区三区视频| 国产成人自拍网| 99精品久久免费看蜜臀剧情介绍| 日韩精品一区二区三区在线观看 | 爽好久久久欧美精品| 日韩精品福利网| 精品一区二区综合| 国产成人综合网站| 99国产精品久| 欧美日韩一级片在线观看| 欧美xxxxx裸体时装秀| 国内精品嫩模私拍在线| 国产99久久久国产精品免费看| 一区二区三区日韩欧美| 69堂国产成人免费视频| 捆绑调教一区二区三区| 成人在线视频首页| 欧美日韩国产大片| 久久精品日韩一区二区三区| 亚洲丝袜精品丝袜在线| 视频一区国产视频| 日本一区二区视频在线| 亚洲精品欧美综合四区| 成人欧美一区二区三区白人| 亚洲午夜精品一区二区三区他趣| 国产精品一卡二卡在线观看| 国产高清不卡一区| 蜜桃视频一区二区| 成人av在线观| 一级做a爱片久久| 制服丝袜一区二区三区| 欧美日韩精品专区| 色悠悠久久综合| 欧美一二区视频| 成人午夜视频在线| 精品国产欧美一区二区| 亚洲国产美女搞黄色| 国产乱国产乱300精品| 欧美日韩视频一区二区| www.综合网.com| 麻豆久久久久久| 裸体一区二区三区| 一本色道久久综合狠狠躁的推荐| 极品少妇一区二区| 污片在线观看一区二区| 天天av天天翘天天综合网| 国产精品丝袜久久久久久app| 国产精品一区二区视频| 91精品国产综合久久蜜臀| 色综合色综合色综合| 国产蜜臀av在线一区二区三区| 99久免费精品视频在线观看| 91捆绑美女网站| 国产精品一色哟哟哟| 欧美性大战久久| 国产精品国产a| 青青草一区二区三区| 另类中文字幕网| 欧美日韩成人综合| 国产精品成人免费在线| 国产精品福利在线播放| 亚洲亚洲精品在线观看| 99视频超级精品| 国产精品久久久久久久久搜平片| 久久网这里都是精品| 日韩成人一级片| 日韩高清电影一区| 亚洲情趣在线观看| 色国产综合视频| 国产日韩欧美在线一区| 久久婷婷国产综合精品青草 | 色8久久精品久久久久久蜜| 久久久久高清精品| 精彩视频一区二区三区| 欧美人妇做爰xxxⅹ性高电影| 日韩一区二区三区视频| 日本三级亚洲精品| 欧美一区二区在线播放| 717成人午夜免费福利电影| 亚洲成va人在线观看| 亚洲综合丁香婷婷六月香| 欧美伦理影视网| 亚洲人成网站影音先锋播放| 在线免费观看成人短视频| 91国产免费观看| 久久天天做天天爱综合色| 国产老肥熟一区二区三区| 国产蜜臀av在线一区二区三区| 成人h版在线观看| 91国产免费观看| 亚洲精品在线观| 狠狠久久亚洲欧美| 中文在线资源观看网站视频免费不卡| 成人夜色视频网站在线观看| 欧美韩国日本综合| 国产精品国产三级国产普通话三级| 日韩欧美一级片| 高清不卡在线观看| 日本一区二区三区国色天香| 91在线视频播放地址| 在线日韩av片| 另类小说色综合网站| 欧美激情一区二区三区全黄| 久久精品国产一区二区三| 久久久亚洲精品一区二区三区| av在线这里只有精品| 有坂深雪av一区二区精品| 日韩你懂的在线观看| 国产精品一区二区三区四区 | 国产成人免费视频| 91久久精品一区二区三| 精品污污网站免费看| 美国十次了思思久久精品导航| 不卡大黄网站免费看| 精品国产一区二区三区久久影院 | 国产福利91精品| 亚洲天堂a在线| 欧美日本一区二区三区| 精品欧美乱码久久久久久1区2区 | 蜜桃视频一区二区三区 | 一本色道亚洲精品aⅴ| 久久er精品视频|