0% found this document useful (0 votes)
13 views1 page

Real-time Multi-client Chat App in Java

This project presents a simplified multi-client real-time chat application built with Java Socket Programming, featuring a centralized server model for managing client connections. The client application includes a Swing GUI that operates asynchronously to maintain responsiveness and safely updates the UI. The system demonstrates key concepts of network communication, concurrent programming, and safe UI threading through its design and implementation.

Uploaded by

Pushpal Sarkar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Real-time Multi-client Chat App in Java

This project presents a simplified multi-client real-time chat application built with Java Socket Programming, featuring a centralized server model for managing client connections. The client application includes a Swing GUI that operates asynchronously to maintain responsiveness and safely updates the UI. The system demonstrates key concepts of network communication, concurrent programming, and safe UI threading through its design and implementation.

Uploaded by

Pushpal Sarkar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ABSTRACT

This project focuses on the design and implementation of a


simplified, multi-client, realtime chat application developed using
Java Socket Programming. The system operates on a centralized
server model ([Link]) to manage multiple concurrent client
connections and facilitate message broadcasting to all active users.
The client application ([Link]) features a basic Swing GUI for
user interaction and employs a separate background thread to
continuously handle incoming network data asynchronously. This
design ensures the graphical interface remains responsive and avoids
UI freezes. Furthermore, all UI updates are executed safely on the
Event Dispatch Thread (EDT) using [Link](). The
application uses a simple, text-based protocol where the client
initiates the connection by sending a /hello command with its
nickname. The server manages synchronization (synchronized
(clients)) for the global client list and handles graceful disconnections
signaled by a /quit command. This system serves as an excellent
prototype demonstrating fundamental concepts of network
communication, concurrent programming, and safe UI threading .

You might also like