summaryrefslogtreecommitdiff
path: root/src/javaChat/ChatClient.java
diff options
context:
space:
mode:
authorO'Shea <osheas1@wit.edu>2020-12-07 19:36:36 -0500
committerO'Shea <osheas1@wit.edu>2020-12-07 19:36:36 -0500
commit690bbba9550e2644e48db44fb94d4df86494a34e (patch)
treec49c450f0fa501de29daf0b8ae0218f51a01df79 /src/javaChat/ChatClient.java
parentb7ff7847e987daab65caa65d7fab4e314351e70b (diff)
working v2.0, attempt at GUI
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