summaryrefslogtreecommitdiff
path: root/src/javaChat/ChatClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/javaChat/ChatClient.java')
-rw-r--r--src/javaChat/ChatClient.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javaChat/ChatClient.java b/src/javaChat/ChatClient.java
index a342832..9560b49 100644
--- a/src/javaChat/ChatClient.java
+++ b/src/javaChat/ChatClient.java
@@ -1,6 +1,9 @@
package javaChat;
import java.net.* ;
+
+import javax.swing.JFrame ;
+
import java.io.* ;
public class ChatClient
@@ -14,6 +17,7 @@ public class ChatClient
*/
public static void main( String[] args ) throws IOException
{
+
// Get server IP
BufferedReader keyboard = new BufferedReader( new InputStreamReader( System.in ) ) ;
System.out.print( "\nPlease enter the IP of the desired server: " ); // GUI: IP BOX