ChatBox

ChatBox is a simple chat application built with Java Swing and Java sockets. It allows users to communicate with each other in real-time, send messages, and share files.

ChatBox Logo

Features

  • Real-time Messaging: Chat with other users in real-time.
  • File Sharing: Share files securely with other users.
  • User Authentication: Secure login system to authenticate users.
  • Cross-Platform: Works on any platform that supports Java.

Screenshots

Login Page Login Page: This is the login screen where users can sign in to the application.

Chat Interface Chat Interface: Once logged in, users can chat with others using the intuitive chat interface.

Installation

  1. Clone the repository: git clone https://github.com/your-username/chatbox.git
  2. Compile the Java files: javac *.java
  3. Run the server: java ChatServer
  4. Run the client: java RunClient

Usage

  1. Launch the ChatServer to start the server.
  2. Launch one or more instances of the RunClient application to connect as clients.
  3. Log in using your username and start chatting with other users.

Dependencies

  • Java Swing: Graphical user interface toolkit for Java.
  • Java Sockets: Network communication library for implementing network applications.

Contributing

Contributions are welcome! Please feel free to fork the repository and submit pull requests with your enhancements.

License

This project is licensed under the MIT License - see the LICENSE file for details.