SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
try {
client = new NetworkGameControllerClient(listener);
Thread.sleep(1000);
id = "" + System.currentTimeMillis();
addKeyListener(inputSource);
inputSource.setGameCommands(client);
inputSource.onNewClient(new NewClientEvent(id));