Package xgenerator.ui.swing.adapter

Examples of xgenerator.ui.swing.adapter.DataSourceAdapter


    JLabel datasourceLabel = new JLabel("数据源:");
    datasourceLabel.setIcon(IconUtils.createImageIcon(ICON_CLASS_PATH + "database.png"));
    northPanel.add(datasourceLabel);

    this.dataSourceManagerBtn = new JButton(new DataSourceAdapter(this));
    this.dataSourceManagerBtn.setPreferredSize(new Dimension(30, 30));
    this.dataSourceManagerBtn.setIcon(IconUtils.createImageIcon(ICON_CLASS_PATH + "add.gif"));
    this.dataSourceManagerBtn.setActionCommand(DataSourceAdapter.MANAGER_DATASOURCES_COMMAND);
    northPanel.add(this.dataSourceManagerBtn);
   
View Full Code Here


    this.queryField = new JTextField();
    //this.queryField.setPreferredSize(new Dimension(150, 29));
    this.queryField.setPreferredSize(new Dimension(150, 21));
    this.queryBtn = new JButton("查询");
    this.createBtn = new JButton("添加");
    this.createBtn.addActionListener(new DataSourceAdapter(this));
    this.createBtn.setActionCommand(DataSourceAdapter.CREATE_DATASOURCES_COMMAND);
    this.viewBtn = new JButton("查看");
    this.editBtn = new JButton("修改");
    this.deleteBtn = new JButton("删除");
   
View Full Code Here

TOP

Related Classes of xgenerator.ui.swing.adapter.DataSourceAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.