private String stripMnemonicFromResource(String key) {
ResourceBundle resources = TextDocumentPage.getResources();
MnemonicStringFactory mnemonics = ApplicationResources.MNEMONIC_FACTORY;
String s = resources.getString(key);
return mnemonics.asText(s);
}
@Override
public void actionPerformed(final ActionEvent e) {
EventQueue.invokeLater(new Runnable() {