Package org.datastorm.controller

Examples of org.datastorm.controller.Controller


/**
* Show the Data Storm window and fire a sql query automatically.
*/
public void show(Connection connection, String sql) {
  try {
    IController controller = new Controller(connection);
    View view = new View(controller);
    controller.setView(view);
    controller.startUp(sql);
  }
  catch(SQLException e) {
    e.printStackTrace();
  }
}
View Full Code Here

TOP

Related Classes of org.datastorm.controller.Controller

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.