if (isSpecified("-sslType")) sesProps.put(TN5250jConstants.SSL_TYPE,getParameter("-sslType"));
   private void jbInit() throws Exception {      this.setSize(new Dimension(400,300));      if (isSpecified("-L"))      	LangTool.init(parseLocale(getParameter("-L")));      else      	LangTool.init();     //Let's check some permissions     try {        System.getProperty(".java.policy");     }     catch (SecurityException e) {        e.printStackTrace();        TN5250jSecurityAccessDialog.showErrorMessage(e);        return;     }     log = TN5250jLogFactory.getLogger (this.getClass());      Properties sesProps = new Properties();      log.info(" We have loaded a new one");      // Start loading properties - Host must exist      sesProps.put(SESSION_HOST,getParameter("host"));      if (isSpecified("-e"))         sesProps.put(SESSION_TN_ENHANCED,"1");      if (isSpecified("-p")) {         sesProps.put(SESSION_HOST_PORT,getParameter("-p"));      }//      if (isSpecified("-f",args))//         propFileName = getParm("-f",args);      if (isSpecified("-cp"))         sesProps.put(SESSION_CODE_PAGE ,getParameter("-cp"));      if (isSpecified("-gui"))         sesProps.put(SESSION_USE_GUI,"1");      if (isSpecified("-132"))         sesProps.put(SESSION_SCREEN_SIZE,SCREEN_SIZE_27X132_STR);      else         sesProps.put(SESSION_SCREEN_SIZE,SCREEN_SIZE_24X80_STR);      // socks proxy host argument      if (isSpecified("-sph")) {         sesProps.put(SESSION_PROXY_HOST ,getParameter("-sph"));      }      // socks proxy port argument      if (isSpecified("-spp"))         sesProps.put(SESSION_PROXY_PORT ,getParameter("-spp"));      // check if device name is specified      if (isSpecified("-dn"))         sesProps.put(SESSION_DEVICE_NAME ,getParameter("-dn"));      loadSystemProperty("SESSION_CONNECT_USER");      loadSystemProperty("SESSION_CONNECT_PASSWORD");      loadSystemProperty("SESSION_CONNECT_PROGRAM");      loadSystemProperty("SESSION_CONNECT_LIBRARY");      loadSystemProperty("SESSION_CONNECT_MENU");      manager = SessionManager.instance();      final Session5250 s = manager.openSession(sesProps,"","Test Applet");      final SessionGUI gui = new SessionGUI(s);//      final JTerminal jt = new JTerminal(s);      this.getContentPane().add(gui);      s.connect();      SwingUtilities.invokeLater(new Runnable() {         public void run() {//            jt.grabFocus();            gui.grabFocus();         }      });   }