?? returninfoupdate.java~2~
字號:
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 returnInfoUpdate extends JFrame { XYLayout xYLayout1 = new XYLayout(); JLabel jLabel8 = new JLabel(); JLabel jLabel4 = new JLabel(); JTextField jTextbookname = new JTextField(); JTextField jTextborrowdate = new JTextField(); JLabel jLabel1 = new JLabel(); JLabel jLabel3 = new JLabel(); JButton jButtonupdate = new JButton(); JLabel jLabel2 = new JLabel(); JButton jButtonexit = new JButton(); JTextField jTextcomment = new JTextField(); JButton jButtondicision = new JButton(); JButton jButtonClear = new JButton(); JTextField jTextstudentname = new JTextField(); JTextField jTextreturndate = new JTextField(); JLabel jLabel5 = new JLabel(); public returnInfoUpdate() { try { jbInit(); } catch(Exception e) { e.printStackTrace(); } } public static void main(String[] args) { returnInfoUpdate returnInfoUpdate = new returnInfoUpdate(); } private void jbInit() throws Exception { jTextstudentname.setFont(new java.awt.Font("Dialog", 0, 16)); jTextstudentname.setText(""); jButtonClear.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonClear.addMouseListener(new bookUpdate_jButtonClear_mouseAdapter(this)); jButtonClear.setText("清空"); jButtondicision.setFont(new java.awt.Font("Dialog", 0, 16)); jButtondicision.addMouseListener(new bookUpdate_jButtondicision_mouseAdapter(this)); jButtondicision.setText("確定"); jTextcomment.setFont(new java.awt.Font("Dialog", 0, 16)); jTextcomment.setText(""); jButtonexit.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonexit.addMouseListener(new borrowHistoryall_jButtonexit_mouseAdapter(this)); jButtonexit.addMouseListener(new borrowHistoryall_jButtonexit_mouseAdapter(this)); jButtonexit.setText("退出"); jLabel2.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel2.setText("書名"); jButtonupdate.setFont(new java.awt.Font("Dialog", 0, 16)); jButtonupdate.addMouseListener(new bookUpdate_jButtonupdate_mouseAdapter(this)); jButtonupdate.setText("更新"); jLabel3.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel3.setText("借閱日期"); jLabel1.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel1.setRequestFocusEnabled(true); jLabel1.setText("借閱者姓名"); jTextborrowdate.setFont(new java.awt.Font("Dialog", 0, 16)); jTextborrowdate.setText(""); jTextbookname.setFont(new java.awt.Font("Dialog", 0, 16)); jTextbookname.setText(""); jLabel4.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel4.setText("備注"); jLabel8.setText("輸入借閱者姓名或書名點擊確定,將調出此書相關信息"); jLabel8.setFont(new java.awt.Font("Dialog", 0, 16)); this.getContentPane().setLayout(xYLayout1); jTextreturndate.setFont(new java.awt.Font("Dialog", 0, 16)); jTextreturndate.setText(""); jLabel5.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel5.setText("還書日期"); xYLayout1.setWidth(478); xYLayout1.setHeight(368); this.getContentPane().add(jTextborrowdate, new XYConstraints(201, 161, 153, -1)); this.getContentPane().add(jLabel1, new XYConstraints(74, 60, 88, 33)); this.getContentPane().add(jButtonupdate, new XYConstraints(229, 312, 74, 27)); this.getContentPane().add(jButtonexit, new XYConstraints(303, 312, 75, 28)); this.getContentPane().add(jButtondicision, new XYConstraints(163, 312, -1, 28)); this.getContentPane().add(jButtonClear, new XYConstraints(96, 312, 66, 28)); this.getContentPane().add(jTextstudentname, new XYConstraints(202, 64, 150, 26)); this.getContentPane().add(jTextcomment, new XYConstraints(202, 246, 154, -1)); this.getContentPane().add(jLabel4, new XYConstraints(73, 257, 63, 29)); this.getContentPane().add(jLabel5, new XYConstraints(71, 210, 87, 29)); this.getContentPane().add(jLabel8, new XYConstraints(15, 13, 435, 25)); this.getContentPane().add(jTextbookname, new XYConstraints(201, 112, 154, 23)); this.getContentPane().add(jLabel2, new XYConstraints(73, 106, 89, 35)); this.getContentPane().add(jLabel3, new XYConstraints(70, 162, 87, 29)); this.getContentPane().add(jTextreturndate, new XYConstraints(203, 204, 153, -1)); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -