System.out.println(" boot options received " + bootEvent.getNewSessionOptions());
log.info(" boot options received " + bootEvent.getNewSessionOptions());
   public void bootOptionsReceived(BootEvent bootEvent) {      System.out.println(" boot options received " + bootEvent.getNewSessionOptions());      // If the options are not equal to the string 'null' then we have      //    boot options      if (!bootEvent.getNewSessionOptions().equals("null")) {         // check if a session parameter is specified on the command line         String[] args = new String[NUM_PARMS];         parseArgs(bootEvent.getNewSessionOptions(), args);         if (isSpecified("-s",args)) {            String sd = getParm("-s",args);            if (sessions.containsKey(sd)) {               parseArgs(sessions.getProperty(sd), args);               final String[] args2 = args;               final String sd2 = sd;               SwingUtilities.invokeLater(                  new Runnable () {                     public void run() {                        newSession(sd2,args2);                     }                  }               );            }         }         else {            if (args[0].startsWith("-")) {               SwingUtilities.invokeLater(                  new Runnable () {                     public void run() {                        startNewSession();                     }                  }               );            }            else {               final String[] args2 = args;               final String sd2 = args[0];               SwingUtilities.invokeLater(                  new Runnable () {                     public void run() {                        newSession(sd2,args2);                     }                  }               );            }         }      }      else {         SwingUtilities.invokeLater(            new Runnable () {               public void run() {                  startNewSession();               }            }         );      }   }