public RobotConnectedController(
      List<RobotController> robotControllers,
      List<String> tabNames,
      List<RobotData> robotDatas,
      Socket robotClientSocket,
      MainGui mainGui,
      PanelTexts panelTexts) {

    this.mainGui = mainGui;
    this.panelTexts = panelTexts;
    this.robotControllers = robotControllers;
    this.robotClientSocket = robotClientSocket;
    this.tabNames = tabNames;
    this.robotDatas = robotDatas;

    robotConnectedGui = new RobotConnectedGui();
    addLabelsToConnectedGuiComboBox();

    mainGui.setEnabledMainGui(false);
    robotConnectedGui.setAlertLabel(panelTexts.getAlertLabelText1());
    robotConnectedGui.addOKListener(new OK());
    robotConnectedGui.addCancelListener(new cancel());
  }