public ChatGui() throws UnknownHostException
       {
        initComponents();
        echoClient.registerEchoListener(this);
        InetAddress address = InetAddress.getLocalHost();
        String hostIP = address.getHostAddress();
        try
        {
            echoClient.connect(hostIP, 9090);
        } catch (IOException ex)
        {
            Logger.getLogger(ChatGui.class.getName()).log(Level.SEVERE, null, ex);
        }
    }