?? queryorderform.java~1~
字號:
package uml_gaokai;import java.awt.*;import javax.swing.*;import com.borland.jbcl.layout.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2003</p> * <p>Company: </p> * @author unascribed * @version 1.0 */public class QueryOrderForm extends JDialog { private JPanel jPanel1 = new JPanel(); private XYLayout xYLayout1 = new XYLayout(); private JLabel jLabel1 = new JLabel(); private JLabel jLabel2 = new JLabel(); private JLabel jLabel3 = new JLabel(); private JLabel jLabel4 = new JLabel(); private JTextField jTextField1 = new JTextField(); private JTextField jTextField2 = new JTextField(); private JTextField jTextField3 = new JTextField(); private JTextField jTextField4 = new JTextField(); private JButton jButton1 = new JButton(); private JButton jButton2 = new JButton(); private JButton jButton3 = new JButton(); private JButton jButton4 = new JButton(); private JButton jButton5 = new JButton(); public QueryOrderForm(Frame frame, String title, boolean modal) { super(frame, title, modal); try { jbInit(); pack(); } catch(Exception ex) { ex.printStackTrace(); } } public QueryOrderForm() { this(null, "", false); } private void jbInit() throws Exception { jPanel1.setLayout(xYLayout1); jLabel1.setText("訂貨商品名稱"); jLabel2.setText("商品ID"); jLabel3.setText("訂貨日期"); jLabel4.setText("訂貨狀態"); jButton1.setText("查詢"); jButton2.setText("查詢"); jButton3.setText("查詢"); jButton4.setText("查詢"); jButton5.setText("退出"); this.getContentPane().add(jPanel1, BorderLayout.CENTER); jPanel1.add(jTextField1, new XYConstraints(122, 20, 110, 24)); jPanel1.add(jTextField4, new XYConstraints(122, 156, 109, 25)); jPanel1.add(jButton1, new XYConstraints(281, 20, 61, 23)); jPanel1.add(jButton3, new XYConstraints(282, 112, 60, 21)); jPanel1.add(jButton4, new XYConstraints(283, 156, 60, 21)); jPanel1.add(jButton2, new XYConstraints(281, 65, 61, 22)); jPanel1.add(jLabel1, new XYConstraints(28, 20, 92, 24)); jPanel1.add(jTextField2, new XYConstraints(122, 65, 111, 25)); jPanel1.add(jLabel3, new XYConstraints(28, 112, 92, 24)); jPanel1.add(jTextField3, new XYConstraints(122, 112, 111, 25)); jPanel1.add(jLabel4, new XYConstraints(28, 156, 96, 24)); jPanel1.add(jLabel2, new XYConstraints(28, 65, 95, 26)); jPanel1.add(jButton5, new XYConstraints(291, 205, 75, 22)); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -