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

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

?? borrowhistoryall.java~16~

?? 這是一個用JAVA編寫的書籍借閱管理系統
?? JAVA~16~
字號:
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 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一区二区三区免费野_久草精品视频
国产美女视频一区| 欧美日精品一区视频| 日本在线不卡一区| 天天操天天干天天综合网| 亚洲视频图片小说| 亚洲欧美日韩人成在线播放| 中文字幕一区三区| 亚洲女人的天堂| 成人精品电影在线观看| 波多野结衣一区二区三区 | 欧美日韩专区在线| 欧美在线啊v一区| 91精品国产欧美一区二区| 欧美一区二区不卡视频| 亚洲一区二区欧美日韩 | 日韩—二三区免费观看av| 日本亚洲免费观看| 国产麻豆精品在线| 97久久精品人人爽人人爽蜜臀 | 日日嗨av一区二区三区四区| 日日摸夜夜添夜夜添亚洲女人| 在线看国产一区二区| 欧美区视频在线观看| 欧美成人福利视频| 亚洲欧洲一区二区三区| 五月激情六月综合| 国产精品一卡二卡| 在线免费观看日本一区| 亚洲精品一区二区三区影院 | 亚洲影视在线播放| 蓝色福利精品导航| 99re热视频精品| 日韩精品专区在线影院重磅| 国产精品久久久久久久岛一牛影视 | 麻豆国产一区二区| 成人午夜电影久久影院| 91论坛在线播放| 精品国产免费人成在线观看| 国产精品久久久久久久岛一牛影视| 成人一级片在线观看| 91官网在线观看| 国产午夜精品一区二区三区视频| 亚洲欧美福利一区二区| 国产一区二区不卡在线| 欧美区在线观看| 一区二区三区四区视频精品免费| 日韩av一区二区三区四区| 欧美不卡激情三级在线观看| 亚洲综合色视频| 大胆欧美人体老妇| 精品91自产拍在线观看一区| 亚洲18女电影在线观看| 不卡的av网站| 国产亚洲1区2区3区| 蜜臀久久99精品久久久久久9| 国产清纯白嫩初高生在线观看91 | 欧美一级二级三级乱码| 亚洲乱码国产乱码精品精小说| 看国产成人h片视频| 欧美日韩一卡二卡| 亚洲欧美日韩精品久久久久| 国产成人在线免费| 精品国产一区二区精华| 亚洲bt欧美bt精品777| 国产欧美日韩三区| 国内精品久久久久影院薰衣草| 在线播放国产精品二区一二区四区| 国产精品传媒视频| 成人国产在线观看| 国产精品美女www爽爽爽| 国产精品一区二区三区乱码 | 亚洲天天做日日做天天谢日日欢| 黄色日韩网站视频| 午夜精品福利一区二区蜜股av| 在线视频欧美精品| 亚洲综合色成人| 欧美日韩国产高清一区| 午夜影院久久久| 欧美一区二区二区| 久久99国产精品尤物| 欧美精品一区男女天堂| 国产成+人+日韩+欧美+亚洲| 日本强好片久久久久久aaa| 日韩欧美电影在线| 国产一区二区h| 中文字幕一区av| 在线亚洲欧美专区二区| 亚洲国产精品久久不卡毛片| 欧美日本在线观看| 久久国产生活片100| 亚洲成va人在线观看| 91精品福利在线一区二区三区| 老司机午夜精品| 国产精品成人一区二区三区夜夜夜 | 国产99久久精品| 亚洲欧美日韩综合aⅴ视频| 亚洲摸摸操操av| 色噜噜狠狠色综合欧洲selulu| 亚洲.国产.中文慕字在线| 日韩欧美另类在线| 国产ts人妖一区二区| 夜色激情一区二区| 精品国产一区久久| 99久久精品久久久久久清纯| 日日夜夜精品视频免费| 三级久久三级久久久| 中文字幕欧美三区| 欧美四级电影在线观看| 国产成人综合视频| 亚洲综合偷拍欧美一区色| 精品sm在线观看| 欧美日韩中文字幕一区二区| 美女任你摸久久 | 亚洲视频一区在线| 欧美一级免费观看| 波多野洁衣一区| 久久66热re国产| 亚洲影视资源网| 久久精品无码一区二区三区| 欧美综合亚洲图片综合区| 国内一区二区视频| 五月综合激情日本mⅴ| 捆绑紧缚一区二区三区视频| 怡红院av一区二区三区| 国产人妖乱国产精品人妖| 日韩一级在线观看| 欧美中文字幕一区二区三区亚洲 | 有码一区二区三区| 亚洲国产精品99久久久久久久久| 在线播放中文一区| 欧美激情综合在线| 26uuu欧美| 这里只有精品99re| 欧美亚洲一区二区在线观看| 成人污视频在线观看| 狠狠狠色丁香婷婷综合久久五月| 亚洲一区二区三区四区中文字幕| 国产视频一区二区三区在线观看 | 91丨九色丨黑人外教| 欧美高清视频一二三区| 在线视频你懂得一区| 99v久久综合狠狠综合久久| 国产成人综合在线播放| 九一久久久久久| 奇米精品一区二区三区在线观看一 | 国产亚洲一区二区在线观看| 日韩一级免费观看| 伊人一区二区三区| 亚洲欧美另类图片小说| 综合分类小说区另类春色亚洲小说欧美| 精品福利在线导航| 精品对白一区国产伦| 欧美大片一区二区三区| 欧美一级黄色片| 亚洲精品一区二区三区香蕉| 精品成人一区二区三区四区| 欧美一区二区在线不卡| 中文字幕日韩一区| 中文字幕一区二区三区四区 | 一区二区三区在线视频观看58 | 亚洲二区在线观看| 成人精品视频一区| 一本大道av一区二区在线播放| 91麻豆国产福利精品| 色婷婷亚洲精品| 欧美日韩免费一区二区三区| 欧美网站大全在线观看| 91麻豆精品久久久久蜜臀 | 一区二区三区在线视频观看| va亚洲va日韩不卡在线观看| 色婷婷亚洲综合| 欧美人体做爰大胆视频| 精品精品国产高清a毛片牛牛| 精品成人a区在线观看| 欧美激情艳妇裸体舞| 亚洲综合色婷婷| 狠狠色丁香久久婷婷综| 99国产精品久久久久久久久久| 在线免费不卡视频| 午夜视频一区二区| 韩国v欧美v亚洲v日本v| 99re热视频精品| 欧美一区二区三区系列电影| 国产亚洲欧美日韩日本| 亚洲男同1069视频| 久久精品国产秦先生| av中文字幕不卡| 日韩视频国产视频| 亚洲天堂中文字幕| 男人的j进女人的j一区| 久久中文娱乐网| 一区二区三区波多野结衣在线观看| 日韩精品亚洲专区| 国产成人在线色| 91精品国产综合久久香蕉麻豆| 欧美激情中文不卡| 久久国产精品99久久人人澡| 97精品电影院| 日本一区二区免费在线观看视频 | 色欧美88888久久久久久影院|