undo = new JMenuItem(_("Undo"));
undo.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
undo.setEnabled(false);
undo.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
client.getConnection().send(new UndoMessage(client.getGame().getGameId()));
}
});
menu.add(undo);
menu.addSeparator();