An open API service indexing awesome lists of open source software.

https://github.com/tanaytoshniwal/chat-java

:thought_balloon: :speech_balloon: A two way chat program written in JAVA using Networking and Socket Programming.
https://github.com/tanaytoshniwal/chat-java

chat-java corejava frame gui-application java java-files javase socket-programming

Last synced: 3 months ago
JSON representation

:thought_balloon: :speech_balloon: A two way chat program written in JAVA using Networking and Socket Programming.

Awesome Lists containing this project

README

          

# Chat-Java
A two way chat program written in JAVA using Networking.
There are Two Parts of this Repo:
- One that runs on terminal
- Another one is a GUI application

## NonGUI Application
Just clone this repo and go to the NonGUI folder.
Compile all the java files
```java
$ javac *.java
```
and run the **DemoServer.java** file first in one terminal window
```java
$ java DemoServer
```
and then run the **DemoClient.java** file in another terminal window
```java
$ java DemoClient
```
now you can type messages from both terminal window...

_just type **quit** to exit_
### Demo:

## GUI application
Just clone this repo and go to the GUI folder.
Compile all the java files
```java
$ javac *.java
```
and run the **Server.java** file first
```java
$ java Server
```
and then run the **Client.java** file
```java
$ java Client
```
now you can chat from the frames that shows up...

_just **close** the frames to exit_
### Demo:

**Note**-```The connection will be hosted on port number 99```

<> with ♥ by Tanay Toshniwal©