Package net.sourceforge.squirrel_sql.client.gui.session

Examples of net.sourceforge.squirrel_sql.client.gui.session.ObjectTreeInternalFrame


  {
    if (session == null)
    {
      throw new IllegalArgumentException("ISession == null");
    }
    final ObjectTreeInternalFrame oif = new ObjectTreeInternalFrame(session);
    getMainFrame().addWidget(oif);

    // If we don't invokeLater here no Short-Cut-Key is sent
    // to the internal frame
    // seen under java version "1.4.1_01" and Linux
    SwingUtilities.invokeLater(new Runnable()
    {
      public void run()
      {
        oif.setVisible(true);
                oif.getObjectTreeAPI().selectRoot();
      }
    });

    return oif;
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.gui.session.ObjectTreeInternalFrame

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.