summaryrefslogtreecommitdiff
path: root/src/Client/ChatClient.java
diff options
context:
space:
mode:
authorDor Bivas <dor1_b@walla.com>2013-12-04 13:56:21 +0200
committerDor Bivas <dor1_b@walla.com>2013-12-04 13:56:21 +0200
commit186b682c6a87ddec0a1534b30b7deaca0cccec0a (patch)
treea9b24f0a443ddba68abb73b2990a2a1ace6d1184 /src/Client/ChatClient.java
parent615683d70addedd4c661c8b324599f06dfe65aee (diff)
Connect ui to client and server
Diffstat (limited to 'src/Client/ChatClient.java')
-rw-r--r--src/Client/ChatClient.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Client/ChatClient.java b/src/Client/ChatClient.java
index 60e33c4..ac6e6ac 100644
--- a/src/Client/ChatClient.java
+++ b/src/Client/ChatClient.java
@@ -52,7 +52,7 @@ public class ChatClient
reader.setDisplay(ui);
- ChatClientWriter writer = new ChatClientWriter(soc,this);
+ this.writer = new ChatClientWriter(soc,this);
reader.start();
writer.start();
@@ -72,7 +72,7 @@ public class ChatClient
client.setNick("dor");
client.setRealname("Dor bivas");
client.ui = new UserInterface(client);
-
+
//soc.close();
}