This project is a Java-based chatting application that enables real-time communication between host and client machines. It utilizes Java Swing for the graphical user interface and Socket Programming for establishing network communication.
- User-friendly interface with rich text-box for sending messages and text-box for composing messages.
- Real-time communication between the host and client machines.
- Proper message encoding, sending, decoding, and display in the rich text-box.
- Efficient server startup sequence to ensure smooth communication.
- Java Swing: For building the graphical user interface.
- Socket Programming: For establishing network communication between host and client.
- Java Threads: For handling multiple connections and ensuring concurrent communication.
- Web Services: For handling the exchange of messages between users.
- Clone the repository to your local machine.
- Open the project in your favorite Java IDE (e.g., Eclipse, IntelliJ).
- Run the
ChatServer.java
class to start the server. - Run the
ChatClient.java
class to start the client application. - The client application will open a GUI where you can enter the server address and connect to the chat room.
- Once connected, you can type messages in the message composing text-box and send them using the send button.
- Received messages will be displayed in the rich text-box.
This project is open to contributions. If you find any issues or have ideas for improvements, feel free to open an issue or submit a pull request.
Special thanks to the developers and contributors who have helped in making this application possible.
Note: Please ensure that you have Java JDK and a compatible IDE installed on your machine before running the application.
For any additional details, questions, or support, feel free to contact Sudeb.
Happy chatting!