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

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

?? borrowhistorybystudentname.java~14~

?? 實現(xiàn)圖書借閱 歸還 增加圖書 刪除圖書 用java 和 access 開發(fā)
?? JAVA~14~
字號:
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,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 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一区二区三区免费野_久草精品视频
欧美色成人综合| 国产酒店精品激情| 欧美午夜精品久久久| 亚洲亚洲精品在线观看| 欧美亚洲综合另类| 日韩国产欧美三级| 日韩欧美电影一区| 国产酒店精品激情| 亚洲日穴在线视频| 91成人在线观看喷潮| 午夜国产精品影院在线观看| 欧美一级高清片| 国产精品99久久久久久久vr| 一区二区三区欧美在线观看| 欧美电影在线免费观看| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 免费看精品久久片| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 欧美日韩国产免费一区二区 | 国产一区二区成人久久免费影院 | 欧美主播一区二区三区美女| 日本欧美一区二区| 国产日韩欧美制服另类| 色av一区二区| 久99久精品视频免费观看| 国产精品护士白丝一区av| 欧美精品乱码久久久久久按摩| 国产最新精品免费| 亚洲综合成人网| 久久噜噜亚洲综合| 欧美日韩一区不卡| 国产成人av电影在线观看| 亚洲成av人片www| 欧美经典一区二区| 337p亚洲精品色噜噜噜| 成人av资源在线| 蜜桃一区二区三区在线观看| 一区二区三区精品视频在线| 久久久五月婷婷| 欧美肥妇毛茸茸| 99精品久久久久久| 国产美女在线观看一区| 亚洲图片欧美色图| 国产精品三级av| 欧美一区二区三区在线电影| 91视频.com| 高清国产午夜精品久久久久久| 免费黄网站欧美| 亚洲一区二区高清| 一区二区中文字幕在线| 久久精品亚洲麻豆av一区二区| 欧美人与禽zozo性伦| 99精品国产99久久久久久白柏 | 成人性视频免费网站| 蜜臀av一区二区在线观看| 一区二区三区在线高清| 国产精品久久久久久久久搜平片 | 不卡一区二区三区四区| 国产尤物一区二区在线| 蜜桃在线一区二区三区| 日韩精品乱码av一区二区| 一个色综合网站| 1024精品合集| 国产精品久久久久久久久晋中| 337p粉嫩大胆色噜噜噜噜亚洲| 91麻豆精品国产91| 3d动漫精品啪啪1区2区免费| 欧美三级欧美一级| 欧美中文字幕一区| 欧美唯美清纯偷拍| 欧美色网一区二区| 欧亚洲嫩模精品一区三区| 91视频免费观看| 在线免费视频一区二区| 91在线观看污| 一本一道波多野结衣一区二区| 成人午夜碰碰视频| 99久久国产综合精品色伊| 播五月开心婷婷综合| 国产成人综合网| 波多野结衣精品在线| 成人精品免费看| 93久久精品日日躁夜夜躁欧美| 99久久精品免费看| 99久久婷婷国产综合精品| 成+人+亚洲+综合天堂| 91在线云播放| 欧美视频一区二区三区| 777久久久精品| 亚洲精品一二三四区| 亚洲国产精品一区二区www在线 | 一区二区三区av电影| 亚洲午夜激情av| 青青草伊人久久| 精品一区二区成人精品| 国产成人精品三级| 91在线视频播放地址| 欧美午夜精品久久久久久超碰 | 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 国产精品99久久久久久久女警| 成人一级视频在线观看| 色综合婷婷久久| 欧美日韩激情一区二区三区| 亚洲精品在线三区| 国产精品每日更新在线播放网址 | 一区二区三区美女| 日本在线不卡一区| 成人亚洲精品久久久久软件| 在线观看视频91| 久久综合色综合88| 亚洲视频一二区| 日本欧美在线看| 成人黄色a**站在线观看| 欧美午夜片在线看| 国产亚洲精品超碰| 亚洲综合在线电影| 激情综合网天天干| 色猫猫国产区一区二在线视频| 日韩视频一区二区三区在线播放| 国产欧美精品区一区二区三区| 一区二区三区.www| 国产精品一级片在线观看| 日本韩国精品在线| 精品久久人人做人人爰| 亚洲激情av在线| 国产高清亚洲一区| 在线观看日韩精品| 国产精品网站导航| 美女视频免费一区| 在线精品视频免费播放| xnxx国产精品| 亚洲永久免费av| 国产精品一区二区x88av| 欧美人妇做爰xxxⅹ性高电影 | 国产九色精品成人porny | 欧美精品自拍偷拍动漫精品| 国产亚洲欧美日韩日本| 青青草国产成人av片免费| 色综合久久综合网97色综合| 久久网这里都是精品| 午夜天堂影视香蕉久久| 色综合一区二区三区| 久久久精品中文字幕麻豆发布| 手机精品视频在线观看| 91久久国产综合久久| 国产精品免费观看视频| 国产原创一区二区| 日韩三级精品电影久久久 | 久久综合狠狠综合久久综合88| 婷婷综合久久一区二区三区| 91国模大尺度私拍在线视频| 国产精品你懂的在线欣赏| 国内精品久久久久影院色| 日韩一级二级三级| 日韩在线一区二区三区| 在线欧美一区二区| 亚洲女厕所小便bbb| 成人ar影院免费观看视频| 国产欧美日韩视频在线观看| 国产尤物一区二区在线| 欧美精品一区二区三区蜜桃视频| 日韩电影在线一区二区| 欧美日本免费一区二区三区| 亚洲国产精品久久不卡毛片 | 蜜桃av一区二区三区| 欧美伦理视频网站| 天天综合网天天综合色| 欧美图片一区二区三区| 亚洲九九爱视频| 色婷婷综合视频在线观看| 亚洲免费资源在线播放| 色综合中文综合网| 欧美va亚洲va| 狠狠网亚洲精品| 久久精品人人做人人爽人人| 国产裸体歌舞团一区二区| 国产女主播视频一区二区| 岛国精品在线播放| 国产精品美女久久久久av爽李琼| 不卡一区二区三区四区| 一区二区三区小说| 欧美色网一区二区| 日韩 欧美一区二区三区| 精品国产一区二区亚洲人成毛片 | 午夜精品久久一牛影视| 欧美一区二区三区四区五区| 捆绑调教一区二区三区| 国产欧美一区视频| 色综合咪咪久久| 日本不卡一二三区黄网| 精品国产一区a| 成人免费看的视频| 伊人色综合久久天天| 欧美浪妇xxxx高跟鞋交| 精品一区中文字幕| 国产精品理伦片| 欧美亚一区二区| 精品亚洲国产成人av制服丝袜| 国产精品日韩成人| 欧美日免费三级在线|