Package xgenerator.ui.swing.model

Examples of xgenerator.ui.swing.model.DatasourceTableModel


        {"Sybase_DS", "oracle.jdbc.driver.OracleDriver", "jdbc:sybase:Tds:192.168.70.157:4100/staticdb?charset=cp936", "sys", "sys"},
        {"SqlServer2000_DS", "com.microsoft.jdbc.sqlserver.SQLServerDriver", "jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=shoppingCar", "scott", "tiger"},
        {"MySQL_DS", "com.mysql.jdbc.Driver", "jdbc:mysql://[HOST]:[PORT]/[database_name]", "scott", "tiger"},
        {"DB2_DS", "com.ibm.db2.jdbc.app.DB2Driver", "jdbc:db2://[SERVER_NAME]:[PORT]/[DATABASE_NAME]", "scott", "tiger"}
    };
    DefaultTableModel tableModel = new DatasourceTableModel();
    tableModel.setDataVector(data, DatasourceTableModel.COLUMN_NAMES);
    this.setModel(tableModel);
    this.setPreferredTableColumnStyle();
   
    this.revalidate();
    this.updateUI();
View Full Code Here

TOP

Related Classes of xgenerator.ui.swing.model.DatasourceTableModel

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.