/**
   * Create the panel for the Message Sequence Chart settings
   *
   * @return The Message Sequence Chart settings panel
   */
  private JPanel createMscSettingsPanel() {
    JPanel mscPanel = new JPanel(new GridLayout(2, 1));
    m_focusCheckBox = new JCheckBox("Automatic statement focus");
    m_autoCollapseCheckBox = new JCheckBox("Collapse whitespace between statements");

    ArgusSettings settings = ArgusSettings.getInstance();
    boolean statementFocusEnabled =
        settings.getAttribute("msc.statementfocus", "false").equals("true");
    m_focusCheckBox.setSelected(statementFocusEnabled);

    boolean collapseEnabled = settings.getAttribute("msc.collapse", "true").equals("true");
    m_autoCollapseCheckBox.setSelected(collapseEnabled);

    mscPanel.setBorder(BorderFactory.createTitledBorder(FOCUSTITLE));
    mscPanel.add(m_focusCheckBox);
    mscPanel.add(m_autoCollapseCheckBox);
    return mscPanel;
  }