This is a simple chatting application implemented in Java using Swing for the graphical user interface and sockets for communication. It consists of a server component and a client component.
- Graphical User Interface: The application provides a user-friendly GUI for chatting.
- Server-Client Communication: It allows communication between multiple clients via a central server.
- Real-time Messaging: Messages are sent and received in real-time.
- Compile the
Server.java
file:javac chatting/application/Server.java
. - Run the server:
java chatting.application.Server
. - The server will start listening for client connections on port 6001.
- Compile the
Client.java
file:javac chatting/application/Client.java
. - Run the client:
java chatting.application.Client
. - Enter the IP address and port number of the server to connect.
- Start chatting with other connected clients.
- Java Development Kit (JDK)
- Swing Library
This project is licensed under the MIT License.