?? bookstore.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 bookStore extends JFrame {
XYLayout xYLayout1 = new XYLayout();
JButton jButtonnext = new JButton();
JButton jButtonSearch = new JButton();
JLabel jLabel17 = new JLabel();
JButton jButtonpre = new JButton();
JButton jButtonupdate = new JButton();
JButton jButtonlast = new JButton();
JPanel jPanel1 = new JPanel();
JButton jButtonexit = new JButton();
JButton jButtondelete = new JButton();
JButton jButtonfirst = new JButton();
XYLayout xYLayout2 = new XYLayout();
JTextField jTextcomment = new JTextField(); JLabel jLabel7 = new JLabel(); JLabel jLabel8 = new JLabel(); JLabel jLabel9 = new JLabel(); JLabel jLabel2 = new JLabel(); JTextField jTextField2 = new JTextField(); JLabel jLabel6 = new JLabel(); JTextField jTextField1 = new JTextField(); JLabel jLabel5 = new JLabel(); JTextField jTextField3 = new JTextField(); JTextField jTextField4 = new JTextField(); JTextField jTextField5 = new JTextField(); JTextField jTextField6 = new JTextField();
public bookStore() {
try {
jbInit();
}
catch(Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
bookStore bookStore = new bookStore();
}
private void jbInit() throws Exception {
jPanel1.setBorder(BorderFactory.createLineBorder(Color.black));
jPanel1.setToolTipText("");
jPanel1.setLayout(xYLayout2);
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));
jLabel17.setFont(new java.awt.Font("Dialog", 0, 16));
jLabel17.setText("comment");
jButtonSearch.addActionListener(new FrameProductInInformation_jButtonSearch_actionAdapter(this));
jButtonSearch.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
jButtonSearch_actionPerformed(e);
}
});
jButtonSearch.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
jButtonSearch_actionPerformed(e);
}
});
jButtonSearch.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
jButtonSearch_actionPerformed(e);
}
});
jButtonSearch.setText("search");
jButtonSearch.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);
jButtonexit.setFont(new java.awt.Font("Dialog", 0, 16));
jButtonexit.setText("exit");
jButtonexit.addActionListener(new FrameProductInInformation_jButtonexit_actionAdapter(this));
jButtondelete.setFont(new java.awt.Font("Dialog", 0, 16));
jButtondelete.setText("delete");
jButtondelete.addActionListener(new FrameProductInInformation_jButtondelete_actionAdapter(this));
jButtonfirst.setText("first");
jButtonfirst.addActionListener(new FrameProductInInformation_jButtonfirst_actionAdapter(this));
jButtonfirst.setFont(new java.awt.Font("Dialog", 0, 16));
jTextcomment.setText("");
jLabel7.setText("address"); jLabel7.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel8.setText("book name"); jLabel8.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel9.setText("owner"); jLabel9.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel2.setText("press"); jLabel2.setFont(new java.awt.Font("Dialog", 0, 16)); jTextField2.setText(""); jTextField2.setHorizontalAlignment(SwingConstants.LEADING); jTextField2.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel6.setText("price"); jLabel6.setFont(new java.awt.Font("Dialog", 0, 16)); jTextField1.setText(""); jTextField1.setFont(new java.awt.Font("Dialog", 0, 16)); jLabel5.setText("getdate"); jLabel5.setVerifyInputWhenFocusTarget(true); jLabel5.setFont(new java.awt.Font("Dialog", 0, 16)); jTextField6.setText(""); jTextField5.setText(""); jTextField4.setText(""); xYLayout1.setWidth(696); xYLayout1.setHeight(393); jPanel1.add(jTextcomment, new XYConstraints(103, 210, 464, 28));
jPanel1.add(jLabel17, new XYConstraints(11, 212, 67, 32)); jPanel1.add(jLabel6, new XYConstraints(263, 129, 87, 27)); jPanel1.add(jTextField2, new XYConstraints(133, 85, 86, 23)); jPanel1.add(jLabel5, new XYConstraints(255, 86, 70, 32)); jPanel1.add(jLabel7, new XYConstraints(245, 44, 83, 26)); jPanel1.add(jTextField1, new XYConstraints(133, 43, 85, 19)); jPanel1.add(jLabel8, new XYConstraints(32, 44, 96, 27)); jPanel1.add(jLabel2, new XYConstraints(29, 85, 65, -1)); jPanel1.add(jLabel9, new XYConstraints(28, 133, 79, 32)); jPanel1.add(jTextField3, new XYConstraints(135, 141, 90, 28)); jPanel1.add(jTextField4, new XYConstraints(358, 45, 148, 25)); jPanel1.add(jTextField5, new XYConstraints(356, 86, 142, 25)); jPanel1.add(jTextField6, new XYConstraints(356, 135, 143, 29)); this.getContentPane().add(jPanel1, new XYConstraints(49, 56, 613, 257));
this.getContentPane().add(jButtonSearch, new XYConstraints(540, 24, 91, 29)); this.getContentPane().add(jButtonpre, new XYConstraints(149, 328, 82, 26)); this.getContentPane().add(jButtonexit, new XYConstraints(583, 328, 70, 28)); this.getContentPane().add(jButtondelete, new XYConstraints(496, 330, 86, 28)); this.getContentPane().add(jButtonfirst, new XYConstraints(62, 327, 86, 26)); this.getContentPane().add(jButtonnext, new XYConstraints(232, 329, 89, 26)); this.getContentPane().add(jButtonupdate, new XYConstraints(402, 330, 94, 27)); this.getContentPane().add(jButtonlast, new XYConstraints(321, 329, 81, 27));
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -