Update of /cvsroot/squirrel-sql/sql12/test/jfctests/net/sourceforge/squirrel_sql/client/gui/db
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv1839/test/jfctests/net/sourceforge/squirrel_sql/client/gui/db
Added Files:
ConnectionPropertiesPanelTestUI.java
Log Message:
Aliases now have the ability to setup keep-alive SQL statement and sleep time (in seconds) to prevent a connection from being disconnected while appearing to be idle.
--- NEW FILE: ConnectionPropertiesPanelTestUI.java ---
package net.sourceforge.squirrel_sql.client.gui.db;
import javax.swing.JFrame;
import net.sourceforge.squirrel_sql.client.ApplicationArguments;
import net.sourceforge.squirrel_sql.client.gui.db.aliasproperties.ConnectionPropertiesPanel;
public class ConnectionPropertiesPanelTestUI {
/**
* @param args
*/
public static void main(String[] args) {
ApplicationArguments.initialize(new String[] {});
final JFrame frame = new JFrame("Test ConnectionPropertiesPanel");
SQLAliasConnectionProperties props = new SQLAliasConnectionProperties();
ConnectionPropertiesPanel panel = new ConnectionPropertiesPanel(props);
frame.getContentPane().add(panel);
frame.setSize(500,300);
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}
|