ManagementWindow.java~1~
资源名称:Java.rar [点击查看]
上传用户:liming9091
上传日期:2014-10-27
资源大小:3376k
文件大小:2k
源码类别:
Java编程
开发平台:
Java
- package uml_gaokai;
- import java.awt.*;
- import javax.swing.*;
- import com.borland.dx.sql.dataset.*;
- import com.borland.dbswing.*;
- 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 ManagementWindow extends JDialog {
- private Database database1 = new Database();
- private QueryDataSet queryDataSet1 = new QueryDataSet();
- private JPanel jPanel1 = new JPanel();
- private JdbTable jdbTable1 = new JdbTable();
- private XYLayout xYLayout1 = new XYLayout();
- private JButton jButton1 = new JButton();
- private JButton jButton2 = new JButton();
- private JButton jButton3 = new JButton();
- private QueryDataSet queryDataSet2 = new QueryDataSet();
- public ManagementWindow(Frame frame, String title, boolean modal) {
- super(frame, title, modal);
- try {
- jbInit();
- pack();
- }
- catch(Exception ex) {
- ex.printStackTrace();
- }
- }
- public ManagementWindow() {
- this(null, "", false);
- }
- private void jbInit() throws Exception {
- jPanel1.setLayout(xYLayout1);
- jButton1.setText("查看进货信息");
- jButton2.setText("查看销售信息");
- jButton3.setText("退出");
- database1.setDatabaseName("");
- this.getContentPane().add(jPanel1, BorderLayout.CENTER);
- jPanel1.add(jdbTable1, new XYConstraints(2, 2, 332, 187));
- jPanel1.add(jButton1, new XYConstraints(5, 208, 109, 20));
- jPanel1.add(jButton3, new XYConstraints(255, 208, 73, 20));
- jPanel1.add(jButton2, new XYConstraints(123, 208, 106, 20));
- }
- }