public void init()
  {
    try
    {
      this.ButtonTitle = getParameter("ButtonTitle");
      if (this.ButtonTitle == null) {
        this.ButtonTitle = "Start Game";
      }

      String str1 = getParameter("BaseURL");
      if (str1 != null)
        this.BaseURL = new URL(str1);
      else {
        this.BaseURL = getDocumentBase();
      }

      int i = 1;
      int j = 1;
      do
      {
        String str2 = "URL " + String.valueOf(i);
        String str3 = "Target " + String.valueOf(i);
        String str5 = getParameter(str3);
        if (str5 == null) {
          j = 0;
        }
        else {
          String str4 = getParameter(str2);
          this.Pages.addElement(new URL(this.BaseURL, str4));
          this.PageTargets.addElement(str5);
        }

        i++;
      }
      while (j != 0);
    }
    catch (MalformedURLException localMalformedURLException)
    {
      System.err.println("Starter: Got a URL it couldn't understand.");
      this.ButtonTitle = "Check Parameters!";
    }

    this.Start = new Button(this.ButtonTitle);
    this.Start.addActionListener(this);
    add(this.Start);
  }