Java Chat Application
A Java Chat Application made for our OOPM Sem 3 Mini project
Usage
- Pull the code or clone this repo and cd into the working directory
- If using VS code just install the redhat java extension pack and run the 2 files simultaneously. Make sure ther server file is run before the client one.
- If using the command line open 2 separate instances and cd into the working directory in both of them. One is for Server and other is for Client
- cd into the src/chatting/application folder in one of them and run
javac Server.java
and
javac Client.java
- cd back into the working directory
- In the command prompt for Server, cd into src and run the command
java chatting.application.Server
- In the command prompt for Client, cd into src and run the command
java chatting.application.Client
Make sure it is done in this order only.
After setting up the 2 instances you can message between them. Sometimes the message may take a while to appear because of packet loss in that case just message something else from the other client and it should work.
A working image of the app
Functionality
It is a light weight java desktop application that allows two users to chat among themselves simultaneously much like whatsapp or any other social media application.
Features
- Simple & User-friendly Chat UI design.
- Real time chatting on a given I.P Address using Socket Programming(Java Networking).
- Additional features such as Chat Bubble, Date & Time of the messages sent & received were also added.
- We have also included a scrollbar in our UI framework so that users can scroll back & forth between the messages.
- The Status of the user i.e whether he is online ,typing,etc. is also shown while chatting.
Software Features
- Ease of use due to a robust GUI.
- Simultaneous connectivity over a local server due to the use of web sockets.
Made by:
- Kush Patel 1911101
- Burhanuddin Rangwala 1911109
- Rishabh Kothari 1911110