public static JButton createButton(final String buttonText,final int mnemonic,final ActionListener actionListener){
  final JButton newButton=MapXmlUIHelper.createButton(buttonText,mnemonic);
  newButton.addActionListener(actionListener);
  return newButton;
}

public static JButton createButton ( final String buttonText , final int mnemonic , final ActionListener actionListener ) { final JButton newButton = MapXmlUIHelper . createButton ( buttonText , mnemonic ) ; newButton . addActionListener ( actionListener ) ; return newButton ; }
creates a button with text , key code and action listener .
