@Override
public void actionPerformed(ActionEvent e) {
String msg = input.getText();
if (!"".equals(msg)) {
forceFocus = true; //prevent panel flashing
client.getConnection().send(new PostChatMessage(game.getGameId(), msg));
//client.getServer().chatMessage(getSendingPlayer().getIndex(), msg);
}
clean();
}
});