?? borrowhistory.java~1~
字號:
package bookmanager;import javax.swing.*;import com.borland.jbcl.layout.*;import java.awt.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2003</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class borrowHistory extends JFrame { XYLayout xYLayout1 = new XYLayout(); JButton jButtonnext = new JButton(); JButton jButtonpre = new JButton(); JButton jButtonupdate = new JButton(); JButton jButtonlast = new JButton(); JButton jButtonexit = new JButton(); JButton jButtondelete = new JButton(); JButton jButtonfirst = new JButton(); JLabel jLabel4 = new JLabel(); JLabel jLabel1 = new JLabel(); JLabel jLabel3 = new JLabel(); JTextField jTextField3 = new JTextField(); JLabel jLabel2 = new JLabel(); JTextField jTextField2 = new JTextField(); JTextField jTextField1 = new JTextField(); JTextField jTextField4 = new JTextField(); JLabel jLabel5 = new JLabel(); JTextField jTextField5 = new JTextField(); JButton jButton1 = new JButton(); public borrowHistory() { try { jbInit(); } catch(Exception e) { e.printStackTrace(); } } public static void main(String[] args) { borrowHistory borrowHistory = new borrowHistory(); } private void jbInit() throws Exception { jButtonfirst.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonfirst.addActionListener(new FrameProductInInformation_jButtonfirst_actionAdapter(this)); jButtonfirst.setText("first"); jButtondelete.addActionListener(new FrameProductInInformation_jButtondelete_actionAdapter(this)); jButtondelete.setText("delete"); jButtondelete.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonexit.addActionListener(new FrameProductInInformation_jButtonexit_actionAdapter(this)); jButtonexit.setText("exit"); jButtonexit.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonlast.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonlast.addActionListener(new FrameProductInInformation_jButtonlast_actionAdapter(this)); jButtonlast.setText("last"); jButtonupdate.addActionListener(new FrameProductInInformation_jButtonupdate_actionAdapter(this)); jButtonupdate.setText("update"); jButtonupdate.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonpre.addActionListener(new FrameProductInInformation_jButtonpre_actionAdapter(this)); jButtonpre.setText("pre"); jButtonpre.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonnext.addActionListener(new FrameProductInInformation_jButtonnext_actionAdapter(this)); jButtonnext.setText("next"); jButtonnext.setFont(new java.awt.Font("Dialog", 0, 16)); this.getContentPane().setLayout(xYLayout1); xYLayout1.setWidth(627); xYLayout1.setHeight(373); jLabel4.setText("comment"); jLabel1.setText("student name"); jLabel3.setText("borrow date"); jTextField3.setText(""); jLabel2.setText("book name"); jTextField2.setText(""); jTextField1.setText(""); jTextField4.setText(""); jLabel5.setText("return date"); jTextField5.setText(""); jButton1.setText("search"); this.getContentPane().add(jButton1, new XYConstraints(433, 65, 91, 31)); this.getContentPane().add(jTextField1, new XYConstraints(224, 44, 134, 26)); this.getContentPane().add(jLabel1, new XYConstraints(69, 36, 88, 33)); this.getContentPane().add(jTextField3, new XYConstraints(221, 141, 137, 29)); this.getContentPane().add(jTextField2, new XYConstraints(221, 98, 154, 23)); this.getContentPane().add(jLabel2, new XYConstraints(70, 83, 89, 35)); this.getContentPane().add(jTextField4, new XYConstraints(220, 240, 137, 29)); this.getContentPane().add(jLabel4, new XYConstraints(66, 247, 63, 29)); this.getContentPane().add(jTextField5, new XYConstraints(222, 187, 137, 29)); this.getContentPane().add(jLabel3, new XYConstraints(68, 140, 87, 29)); this.getContentPane().add(jLabel5, new XYConstraints(65, 188, 87, 29)); this.getContentPane().add(jButtonnext, new XYConstraints(187, 305, 89, 26)); this.getContentPane().add(jButtonpre, new XYConstraints(104, 304, 82, 26)); this.getContentPane().add(jButtonupdate, new XYConstraints(357, 306, 94, 27)); this.getContentPane().add(jButtonlast, new XYConstraints(276, 305, 81, 27)); this.getContentPane().add(jButtonexit, new XYConstraints(538, 304, 70, 28)); this.getContentPane().add(jButtondelete, new XYConstraints(451, 306, 86, 28)); this.getContentPane().add(jButtonfirst, new XYConstraints(17, 303, 86, 26)); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -