Exemple #1
0
 /** @param args */
 public static void main(String[] args) throws Exception {
   String[] login = new String[2];
   if (args.length > 2) {
     login[0] = args[2];
   }
   SupportUI.setDefaultFontSize(14);
   showDialog(login);
   connectFactory = SupportNet.getConnectFactory(args[0], args[1], login);
   connectFactory.getConnection().close();
   JOptionPane.showMessageDialog(null, "SSL and database connections successfull !");
   System.exit(0);
 }