public static JButton createJButton(
String message,
ConfigurationValueShortcut shortcut) {
String label = getLabelWithoutMnemonic(message);
JButton button = new JButton(label);
ShortcutProperties shortcutP = getShortcut(shortcut);
if ((shortcutP != null) && (shortcutP.getEnabled())) {
String fullLabel = label + shortcutP.getDescription();
button.setToolTipText(fullLabel);
}
setShortcut(button, shortcutP, message);
return button;
}