Skip to content

23Benji/ChatServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ–₯️ ChatServer

ChatServer Screenshot

A simple and customizable chat application with a client-server architecture, designed for real-time communication.

ChatServer allows multiple users to connect to a central server and exchange messages in real-time. It features a modern, easy-to-use interface and includes customization options for server connection settings. The application is built with Java and utilizes Swing for the graphical interface.

Whether you're looking for a lightweight chat solution or a foundation for building more advanced networking applications, ChatServer provides a solid starting point!

πŸ“Œ Features

βœ… User Authentication – Users can log in with a unique username.
βœ… Real-Time Messaging – Instant message exchange between connected clients.
βœ… Customizable Server Connection – Easily change the server IP and port from the settings.
βœ… Modern UI – A clean and user-friendly interface with custom colors.
βœ… Automatic Reconnection Handling – Alerts when the server is unreachable.
βœ… Multi-User Support – Multiple users can join and chat simultaneously.

πŸ”„ Recent Upgrades

πŸ”Ή Added Settings Button – A gear icon in the top-right corner allows users to modify the server IP and port.
πŸ”Ή IP Validation – Ensures users enter a valid IP address before saving settings.
πŸ”Ή Improved Error Handling – Displays proper error messages for invalid inputs.
πŸ”Ή UI Enhancements – Improved button design and color scheme for a better experience.

πŸš€ Installation & Setup

1️⃣ Clone the repository:

git clone https://github.com/23Benji/ChatServer.git

2️⃣ Open the project in your preferred Java IDE.
3️⃣ Run the server first.
4️⃣ Launch the client and enter a username to join the chat.

βš™οΈ How to Change Server IP & Port

  1. Click the gear icon (βš™οΈ) in the top-right corner of the login window.
  2. Enter the new IP address and port.
  3. Click Save – The changes will apply immediately.

πŸ› οΈ Technologies Used

  • Java (Swing & AWT) – For the GUI.
  • Sockets – For network communication.

πŸ“ To-Do List

πŸ”² Add private messaging feature.
πŸ”² Implement chat history storage.
πŸ”² Add emoji support.

🀝 Contributing

Contributions are welcome! Feel free to fork the repo and submit pull requests.

πŸ“„ License

This project is open-source under the MIT License.

πŸš€ Happy Chatting!

About

A simple and customizable chat application with a client-server architecture, designed for real-time communication.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages