This is a simple real-time chat application that uses Java Swing for the client-side GUI and Spring Boot on the backend, leveraging WebSockets for real-time messaging.
- WebSocket Integration: Enables real-time bidirectional communication between the server and connected clients.
- List of Connected Users: Maintains and displays the list of currently connected users.
- Message Broadcasting: Sends messages to specific users or broadcasts them to all connected users.
- User-Friendly GUI: A modern and minimalistic interface designed using Swing.
- Live User List: Displays the list of users currently online, dynamically updated in real time.
- Real-Time Messaging: Send and receive messages instantly using WebSocket.
- JDK 21 or higher
- Maven for building the Spring Boot backend
- Java Swing IDE (e.g., IntelliJ IDEA, Eclipse)
-
Clone the Repository
git clone https://github.com/Hasnatrasool163/SpringBoot-WebSocket-App.git
cd SpringBoot-WebSocket-App -
BackEnd file name : WebsocketDemoApplication.java
-
Front-End file name : App.java
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.