QueryOrderForm.java~1~
资源名称:Java.rar [点击查看]
上传用户:liming9091
上传日期:2014-10-27
资源大小:3376k
文件大小:2k
源码类别:
Java编程
开发平台:
Java
- 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));
- }
- }