summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Client/UserInterface.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Client/UserInterface.java b/src/Client/UserInterface.java
index 9f7fd5c..872db72 100644
--- a/src/Client/UserInterface.java
+++ b/src/Client/UserInterface.java
@@ -134,7 +134,7 @@ public class UserInterface extends JFrame implements ActionListener, KeyListener
if (command == "connect" && counterClick == 0 )
{
- if (client.connect("localhost",(Integer.parseInt("6667"))))
+ if (client.connect(host.getText(),Integer.parseInt(port.getText())))
{
output.append("You've connect to the server succesufully" + "\n");
counterClick++;