public void checkForDuplicateMnemonics(AbstractButton button) {
    if (!isCheckingDuplicateMnemonicsEnabled()) {
      return;
    }
    checkForDuplicateMnemonics(button.getMnemonic(), button.getText());
  }
public void checkForDuplicateMnemonics(AbstractButton button)