clientConnection = new ClientConnection(
new Socket(InetAddress.getByName(tFServerIp.getText()), PORT),
new ClientDispatcher());
clientConnection.start();
clientConnection.sendMessage(
new NewMsg(IMessage.NEW_CLIENT, textLogIn.getText()));
} catch (UnknownHostException e) {
throw new ChatException("Don't know about host : " +
tFServerIp.getText());
} catch (IOException e) {
throw new ChatException("Couldn't get I/O for the connection");