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

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

?? borrowhistorybybookname.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 borrowHistoryBybookname 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 borrowHistoryBybookname() {    try {      jbInit();    }    catch(Exception e) {      e.printStackTrace();    }  }  public static void main(String[] args) {    borrowHistoryBybookname borrowHistoryBybookname = new borrowHistoryBybookname();  }  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 borrowHistoryBybookname_jButtonfirst_mouseAdapter(this));    jButtonfirst.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonsearch.setText("查詢");    jButtonsearch.addMouseListener(new borrowHistoryBybookname_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 borrowHistoryBybookname_jButtondelete_mouseAdapter(this));    jButtonexit.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonexit.setText("退出");    jButtonexit.addMouseListener(new borrowHistoryBybookname_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 borrowHistoryBybookname_jButtonupdate_mouseAdapter(this));    jButtonlast.setText("最后一條");    jButtonlast.addMouseListener(new borrowHistoryBybookname_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 borrowHistoryBybookname_jButtonpre_mouseAdapter(this));    jButtonnext.setFont(new java.awt.Font("Dialog", 0, 16));    jButtonnext.setText("后一條");    jButtonnext.addMouseListener(new borrowHistoryBybookname_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(631);    xYLayout1.setHeight(377);    jPanel1.setLayout(xYLayout2);    jPanel1.setBorder(BorderFactory.createLineBorder(Color.black));    this.getContentPane().add(jButtonsearch, new XYConstraints(423, 38, 104, 31));    this.getContentPane().add(jLabel2, new XYConstraints(56, 31, 89, 35));    this.getContentPane().add(jTextbname, new XYConstraints(209, 38, 154, 23));    this.getContentPane().add(jPanel1,         new XYConstraints(20, 84, 583, 217));    jPanel1.add(jTextpname, new XYConstraints(180, 14, 116, 26));    jPanel1.add(jLabel1, new XYConstraints(25, 14, 88, 33));    jPanel1.add(jTextbdate, new XYConstraints(181, 57, 137, -1));    jPanel1.add(jLabel3, new XYConstraints(28, 56, 87, 29));    jPanel1.add(jLabel5, new XYConstraints(29, 98, 87, 29));    jPanel1.add(jTextcomment, new XYConstraints(178, 143, 324, -1));    jPanel1.add(jTextrdate, new XYConstraints(180, 98, 137, -1));    jPanel1.add(jLabel4, new XYConstraints(29, 149, 66, 29));    this.getContentPane().add(jButtonnext, new XYConstraints(188, 326, 89, 26));    this.getContentPane().add(jButtonpre, new XYConstraints(105, 325, 82, 26));    this.getContentPane().add(jButtonlast, new XYConstraints(277, 326, 98, 27));    this.getContentPane().add(jButtonupdate, new XYConstraints(376, 327, 84, 27));    this.getContentPane().add(jButtonexit, new XYConstraints(545, 326, 70, 28));    this.getContentPane().add(jButtondelete, new XYConstraints(459, 327, 86, 28));    this.getContentPane().add(jButtonfirst, new XYConstraints(18, 324, 86, 26));      this.setSize(600,480);  }  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() );                   if (jTextbname.getText().trim().length() ==0)                   {}                   else                   {                      sql=sql+"  where  bookname='"+jTextbname.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();  }}class borrowHistoryBybookname_jButtonsearch_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBybookname adaptee;  borrowHistoryBybookname_jButtonsearch_mouseAdapter(borrowHistoryBybookname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonsearch_mouseClicked(e);  }}class borrowHistoryBybookname_jButtonfirst_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBybookname adaptee;  borrowHistoryBybookname_jButtonfirst_mouseAdapter(borrowHistoryBybookname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonfirst_mouseClicked(e);  }}class borrowHistoryBybookname_jButtonpre_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBybookname adaptee;  borrowHistoryBybookname_jButtonpre_mouseAdapter(borrowHistoryBybookname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonpre_mouseClicked(e);  }}class borrowHistoryBybookname_jButtonnext_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBybookname adaptee;  borrowHistoryBybookname_jButtonnext_mouseAdapter(borrowHistoryBybookname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonnext_mouseClicked(e);  }}class borrowHistoryBybookname_jButtonlast_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBybookname adaptee;  borrowHistoryBybookname_jButtonlast_mouseAdapter(borrowHistoryBybookname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonlast_mouseClicked(e);  }}class borrowHistoryBybookname_jButtonupdate_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBybookname adaptee;  borrowHistoryBybookname_jButtonupdate_mouseAdapter(borrowHistoryBybookname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonupdate_mouseClicked(e);  }}class borrowHistoryBybookname_jButtondelete_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBybookname adaptee;  borrowHistoryBybookname_jButtondelete_mouseAdapter(borrowHistoryBybookname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtondelete_mouseClicked(e);  }}class borrowHistoryBybookname_jButtonexit_mouseAdapter extends java.awt.event.MouseAdapter {  borrowHistoryBybookname adaptee;  borrowHistoryBybookname_jButtonexit_mouseAdapter(borrowHistoryBybookname adaptee) {    this.adaptee = adaptee;  }  public void mouseClicked(MouseEvent e) {    adaptee.jButtonexit_mouseClicked(e);  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区在线免费| 91小视频在线| 91丨国产丨九色丨pron| 这里只有精品免费| 亚洲欧美一区二区不卡| 蜜桃视频在线观看一区| 欧美中文一区二区三区| 欧美激情资源网| 极品瑜伽女神91| 欧美人伦禁忌dvd放荡欲情| 亚洲欧美影音先锋| 国产精品影视在线观看| 日韩亚洲欧美中文三级| 亚洲一区二区五区| 色综合天天天天做夜夜夜夜做| 欧美精品一区二区三区很污很色的| 一区二区三区免费| 色欧美乱欧美15图片| 国产精品三级电影| 国产成人免费av在线| 日韩美女天天操| 青娱乐精品在线视频| 91精品欧美福利在线观看| 亚洲香蕉伊在人在线观| 一本久久精品一区二区| 日韩一区在线播放| 91欧美激情一区二区三区成人| 欧美国产在线观看| gogogo免费视频观看亚洲一| 国产精品久久久久久久久搜平片| 国产乱理伦片在线观看夜一区| 2017欧美狠狠色| 国产成人av一区二区三区在线观看| 26uuu色噜噜精品一区二区| 国产综合成人久久大片91| 精品久久久久久久一区二区蜜臀| 老司机午夜精品| 26uuu成人网一区二区三区| 国产一区在线观看麻豆| 久久综合999| 高清免费成人av| 日韩伦理av电影| 欧美日韩中文另类| 日韩黄色小视频| 欧美精品一区二区三区一线天视频| 国产毛片精品一区| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 一区二区三区四区中文字幕| 91精品福利在线| 日韩二区三区在线观看| 日韩精品影音先锋| 国产69精品久久久久毛片| 亚洲欧洲成人精品av97| 欧美美女喷水视频| 国产最新精品免费| 亚洲男人天堂一区| 日韩午夜在线影院| 成人av动漫网站| 午夜精彩视频在线观看不卡| 日韩限制级电影在线观看| 国产成人av资源| 午夜精品久久久久久久| 亚洲精品一区二区三区香蕉| 91一区二区在线观看| 亚洲1区2区3区视频| 久久综合久久综合亚洲| 色成年激情久久综合| 美国av一区二区| 综合久久国产九一剧情麻豆| 欧美浪妇xxxx高跟鞋交| 国产91富婆露脸刺激对白| 亚洲综合一区在线| 国产蜜臀av在线一区二区三区| 色综合久久天天| 麻豆91免费看| 亚洲国产cao| 欧美国产日韩亚洲一区| 欧美一区二区三区影视| 成人av午夜影院| 日一区二区三区| 亚洲欧美国产77777| 亚洲精品日韩一| 欧美videos中文字幕| 日本精品视频一区二区三区| 国产精品综合av一区二区国产馆| 亚洲激情自拍偷拍| 欧美国产日韩一二三区| 日韩免费视频一区| 在线日韩一区二区| 成人av网址在线| 国产一区二区三区不卡在线观看| 亚洲国产成人tv| 亚洲精品国产无天堂网2021 | 欧美日韩精品一区视频| 99精品1区2区| 国产成人免费网站| 国产一区二区三区四区五区美女 | 日韩在线一区二区三区| 亚洲欧美电影院| 成人免费在线视频观看| 国产亚洲欧美一区在线观看| 7777女厕盗摄久久久| 欧美午夜精品久久久久久孕妇 | 精品乱人伦一区二区三区| 在线观看av一区二区| 91视视频在线观看入口直接观看www | 日本一不卡视频| 日韩国产在线一| 婷婷综合五月天| 亚洲国产成人精品视频| 亚洲午夜国产一区99re久久| 一区二区三区久久久| 亚洲欧美日韩中文播放 | 在线观看一区不卡| 99精品视频在线观看免费| 丁香一区二区三区| 国产精品亚洲专一区二区三区| 激情丁香综合五月| 精品在线播放午夜| 国产高清精品网站| 国产成人无遮挡在线视频| 国产精品99久久久久久似苏梦涵| 国产乱码精品一区二区三区五月婷| 国产一区二区在线看| 国产suv精品一区二区883| 成人激情动漫在线观看| 一本色道久久加勒比精品 | 日韩影院在线观看| 老司机免费视频一区二区三区| 久久精品国产99国产精品| 国产黄色91视频| 97久久久精品综合88久久| 91福利社在线观看| 这里只有精品视频在线观看| 欧美精品一区二区三区蜜臀 | 久久久噜噜噜久久中文字幕色伊伊 | 伊人色综合久久天天人手人婷| 亚洲一区二区欧美激情| 美女在线观看视频一区二区| 国产盗摄女厕一区二区三区 | 亚洲免费观看视频| 日本午夜一区二区| 国产激情精品久久久第一区二区| 99re热这里只有精品视频| 欧美日韩国产大片| 久久综合九色综合欧美98| 中文字幕视频一区| 日韩成人一级片| 国产a久久麻豆| 欧美日韩国产a| 国产日韩欧美制服另类| 亚洲午夜私人影院| 国产成人在线免费| 欧美喷潮久久久xxxxx| 国产婷婷色一区二区三区| 亚洲福利国产精品| 国产**成人网毛片九色 | 国产一区二区三区香蕉 | 五月天激情小说综合| 国产乱理伦片在线观看夜一区| 91视频精品在这里| 日韩欧美在线网站| 一二三四社区欧美黄| 国产成人免费av在线| 欧美一区二区三区成人| √…a在线天堂一区| 精品亚洲免费视频| 欧美人妇做爰xxxⅹ性高电影| 国产精品超碰97尤物18| 久久激情综合网| 欧美夫妻性生活| 亚洲视频一区在线| 国产福利91精品| 欧美v国产在线一区二区三区| 一区二区成人在线| av动漫一区二区| 国产欧美一区二区在线| 日本成人在线视频网站| 欧美伊人精品成人久久综合97| 日本一区二区电影| 国产福利91精品一区| 精品国产区一区| 久久不见久久见中文字幕免费| 欧美久久久久久蜜桃| 一区二区免费看| 色婷婷久久久久swag精品| 国产精品久久久久婷婷| 国产乱子轮精品视频| 欧美一区二区不卡视频| 亚洲一区二区三区四区在线观看| a级高清视频欧美日韩| 久久精品日韩一区二区三区| 激情亚洲综合在线| 精品国产3级a| 另类成人小视频在线| 精品国产欧美一区二区| 美女mm1313爽爽久久久蜜臀| 日韩欧美一级精品久久| 蜜臂av日日欢夜夜爽一区| 精品视频在线免费观看|