/////////////////////////////////////////////////////////////////////////////////////
  // Construct
  public static void main(String[] args) {
    console = false;
    // Locale currentLocale = Locale.getDefault();
    // TODO!!!:
    currentLocale = new Locale("en", "US");
    // currentBundle = ResourceBundle.getBundle("LanguageBundle");
    currentBundle = ResourceBundle.getBundle("LanguageBundle", currentLocale);
    System.out.println(currentBundle.getString("Welcome"));

    if (getGermanDate() == null) {
      Locale locDE = new Locale(Locale.GERMANY.getCountry());
      setDateFormatGermany(DateFormat.getDateInstance(DateFormat.FULL, locDE));
    }
    launcher = new ExamenVerwaltung();
    // args = new String[] { "asasas", "54908" };
    String osname = System.getProperty("os.name");

    if (!(osname.regionMatches(true, 0, "Windows", 0, 7))) {
      System.out.println(currentBundle.getString("ps.linux"));
      // System.out.println(
      // "Was ist das denn für ein Dreck, wo ist meine Windows API
      // hin?\nNa da darfst du jetzt schön tippen mein Freund, klicken is
      // nicht.\r\n");
      console = true;
    } else if (args.length > 0) {
      // TODO: LANGUAGE
      if (args[0].equalsIgnoreCase("DEBUG")) {
        System.out.println("<Rebug-Mode>");
        console = true;
        launcher.setVisible(true);
      } else {
        console = true;
        String out = "";
        //				String add = "hat er";
        //				String it = "er steht";
        String it = getText("no.use/s");
        String param = getText("your/s");
        for (int index = 0; index < args.length; index++) {
          if (index != args.length - 1 && index > 0) {
            out += ", ";
          } else if (index == args.length - 1) {
            out += " und ";
          }
          //					add = "haben sie";
          //					it = "sie stehen";
          param = getText("your/m");
          out += args[index];
          it = getText("no.use/m");
        }
        System.out.println(
            getText("thank.you.for") + " " + param + " Parameter " + out + ",\n" + it);
        System.out.println();
        launcher.setVisible(false);
      }
    } else {
      launcher.setVisible(!console);
    }
    if (console) {
      shell = new Shell();
      shell.Start(console);
      getInstance().closeConnections();
      System.exit(0);
    }
  }