/**
  * Initialize this state.
  *
  * @param container the GameContainer that contains this state
  * @param arg1 the state based game that uses this state
  * @throws SlickException if something goes wrong
  */
 public void init(GameContainer container, StateBasedGame arg1) throws SlickException {
   nameField = new Textfield(TEXT_FIELD_X, TEXT_FIELD_Y, "Player", container);
   ipField = new Textfield(TEXT_FIELD_X, TEXT_FIELD_Y_2, START_IP, container);
   popup = new Popup("", MainGame.getxRes(), MainGame.getyRes());
   initElements();
   separatorTop =
       new Separator(SEPARATOR_X, SEPARATOR_Y, true, separatorTopTitle, container.getWidth());
   separatorHost =
       new Separator(SEPARATOR_X, SEPARATOR_Y_2, false, separatorHostTitle, container.getWidth());
   separatorJoin =
       new Separator(SEPARATOR_X, SEPARATOR_Y_3, false, separatorJoinTitle, container.getWidth());
   separatorMisc =
       new Separator(SEPARATOR_X, SEPARATOR_Y_4, false, separatorMiscTitle, container.getWidth());
 }