private static JButton createButton(String key,ActionListener al){
  JButton btn=new JButton(getMsg(key));
  btn.setMnemonic(getMnemonic(key));
  btn.addActionListener(al);
  return btn;
}

private static JButton createButton ( String key , ActionListener al ) { JButton btn = new JButton ( getMsg ( key ) ) ; btn . setMnemonic ( getMnemonic ( key ) ) ; btn . addActionListener ( al ) ; return btn ; }
creates a new jbutton and sets its text , mnemonic , and actionlistener
