--- FM2SQL/Attic/FM2SQL.java 2004/06/23 10:00:06 1.40 +++ FM2SQL/Attic/FM2SQL.java 2004/09/22 11:14:10 1.42 @@ -177,7 +177,7 @@ public class FM2SQL extends JFrame imple setIconImage(local); bean = new DBBean(); destBean = new DBBean(); - sourceURLBox = new JComboBox(new String[] { "jdbc:fmpro:http://141.14.237.74:8050", "jdbc:fmpro:http://localhost", "jdbc:postgresql://foxridge/test" }); + sourceURLBox = new JComboBox(new String[] { "jdbc:fmpro:http://141.14.237.74:8050", "jdbc:fmpro:http://localhost", "jdbc:postgresql://foxridge/test","jdbc:sequelink://r583-3:2399" }); sourceURLBox.setEditable(true); sourceURLBox.setFont(new Font("Times New Roman",Font.PLAIN,14)); destURLBox = new JComboBox(new String[] { "jdbc:postgresql://foxridge/test", "jdbc:postgresql://erebos/test1" }); @@ -334,6 +334,8 @@ public class FM2SQL extends JFrame imple { public void windowClosing(WindowEvent e) { + bean.closeAllConnections(); + destBean.closeAllConnections(); System.exit(0); } }); @@ -824,6 +826,8 @@ if(command.equals("use NormanToUnicodeMa } if(command.equals("Quit")) { + bean.closeAllConnections(); + destBean.closeAllConnections(); fmInstance.dispose(); System.exit(0);