/**
   * Loads the account with the given identifier.
   *
   * @param accountID the account identifier
   */
  public void loadAccount(AccountID accountID) {
    enableDefaultEncryption.setSelected(
        accountID.getAccountPropertyBoolean(ProtocolProviderFactory.DEFAULT_ENCRYPTION, true));

    Map<String, Integer> encryptionProtocols =
        accountID.getIntegerPropertiesByPrefix(ProtocolProviderFactory.ENCRYPTION_PROTOCOL, true);
    Map<String, Boolean> encryptionProtocolStatus =
        accountID.getBooleanPropertiesByPrefix(
            ProtocolProviderFactory.ENCRYPTION_PROTOCOL_STATUS, true, false);
    this.loadEncryptionProtocols(encryptionProtocols, encryptionProtocolStatus);

    enableSipZrtpAttribute.setSelected(
        accountID.getAccountPropertyBoolean(
            ProtocolProviderFactory.DEFAULT_SIPZRTP_ATTRIBUTE, true));
    cboSavpOption.setSelectedIndex(
        accountID.getAccountPropertyInt(
            ProtocolProviderFactory.SAVP_OPTION, ProtocolProviderFactory.SAVP_OFF));
    cipherModel.loadData(
        accountID.getAccountPropertyString(ProtocolProviderFactory.SDES_CIPHER_SUITES));
    loadStates();
  }