void (@NotNull Runnable runnable, @NotNull @NlsContexts.Button String text) { addButtonToLowerPane(new AbstractAction(UIUtil.replaceMnemonicAmpersand(text)) { @Override public void actionPerformed(ActionEvent e) { runnable.run(); } }); }