Skip to content

vedsaxena6987/Chat-Application-using-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


# 💬 Java Group Chat Application

A modern multi-user **Client-Server chat application** built with Java Swing and Sockets. Each user can pick a theme and join a chat group via a custom GUI.

---

## 🖥️ Features

- ✅ Real-time group chat
- 🎨 Stylish Swing GUI with customizable themes
- 🧵 Multi-threaded server supporting multiple clients
- 👤 Easy-to-use user creation interface

---

## 🚀 Getting Started

### 🔧 Prerequisites

- Java JDK 8 or higher

---

## 🛠️ How to Run

### 1. **Start the Server**

Open a terminal and run:

```bash
javac Server.java
java Server

2. Start a Client (in a new terminal)

javac Client.java
java Client user1

3. Start Another Client (new terminal)

java Client user2

Each new client should be launched in a separate terminal window, and you can choose a different username each time.


🎥 Demo

Coding GIF


📂 Project Structure

.
├── CreateUser.java        # GUI for user creation and color picker
├── Client.java            # Client logic and UI
├── Server.java            # Multi-threaded server
├── icons/                 # Assets for chat UI

📄 License

This project is open-source and free to use.


🧑‍💻 Made with ❤️ by Vedant Saxena


---

Releases

No releases published

Packages

No packages published

Languages