?? borrowhistory.java~5~
字號(hào):
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.setText("第一條"); jButtondelete.setText("刪除"); jButtondelete.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonexit.setText("退出"); jButtonexit.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonlast.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonlast.setText("最后一條"); jButtonupdate.setText("更新"); jButtonupdate.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonpre.setText("前一條"); jButtonpre.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonnext.setText("后一條"); jButtonnext.setFont(new java.awt.Font("Dialog", 0, 16)); this.getContentPane().setLayout(xYLayout1); xYLayout1.setWidth(627); xYLayout1.setHeight(373); jLabel4.setText("comment"); jLabel1.setText("學(xué)生姓名"); 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(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(jButtonlast, new XYConstraints(276, 305, 98, 27)); this.getContentPane().add(jButtonfirst, new XYConstraints(17, 303, 86, 26)); this.getContentPane().add(jButton1, new XYConstraints(437, 40, 104, 31)); this.getContentPane().add(jButtonupdate, new XYConstraints(375, 306, 84, 27)); this.getContentPane().add(jButtondelete, new XYConstraints(458, 306, 86, 28)); this.getContentPane().add(jButtonexit, new XYConstraints(544, 305, 70, 28)); }}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -