* @param e
* Description of the Parameter
*/
public void actionPerformed(ActionEvent e) {
JButton button = (JButton) e.getSource();
FontChooserDialog dialog = new FontChooserDialog(prefs, resources
.getString("messageWindowFont"), true, button.getFont());
dialog.setVisible(true);
if (!dialog.isCancelled()) {
Font newFont = dialog.getSelectedFont();
button.setFont(newFont);
button
.setText(getEncodedFontName(newFont).replaceAll("-",
" "));
}