public void addParameterToSection(JPanel parameter, String section)
    {
    switch (section)
      {
      case Text.FRAME_OPTIONAL_SECTION_AI_BEHAVIOUR:
        aiBehaviourPanel.add(parameter);
        break;
      case Text.FRAME_OPTIONAL_SECTION_MOVEMENT:
        formationsPanel.add(parameter);
        break;
      case Text.FRAME_OPTIONAL_SECTION_GRENADES:
        grenadesPanel.add(parameter);
        break;
      case Text.FRAME_OPTIONAL_SECTION_SUPPRESSION:
        suppressionPanel.add(parameter);
        break;
      case Text.FRAME_OPTIONAL_SECTION_CQB:
        cqbPanel.add(parameter);
        break;
      case Text.FRAME_OPTIONAL_SECTION_OTHER:
        otherPanel.add(parameter);
        break;
      case Text.FRAME_OPTIONAL_SECTION_DEPRECATED:
        deprecatedPanel.add(parameter);
        break;
      }
    }