Question: Write the program given in the Java Networking Slides where a single client and server are presenting a scenario of chatting. Your program should introduce
Write the program given in the “Java Networking Slides” where a single client and server are presenting a scenario of chatting.
Your program should introduce a minimum of two clients to chat with. Implement one server that serves both the clients /and many clients.
Your program should run minimum 3 windows, one Server, and at least two Clients, Sample output below,

![from Socket[addr=/127.0.0.1,port=57327.localport=8000] at Wednesday March 27 04:53:15 EST 2019 Connection from Socket[addr=/127.0.0.1,port-57328](https://dsd5zvtm8ll6.cloudfront.net/questions/2023/11/65433b4eb2d0f_1698904909005.jpg)
1. You can use any one of javax.swing or JavaFX API for the GUI design
2. Your server program should be multithreaded and capable of handling multiple clients' request
Multi-threaded Server MultiThreadServer started at Wednesday March 27 04:53:15 EST 2019 Connection from Socket[addr=/127.0.0.1,port=57327.localport=8000] at Wednesday March 27 04:53:15 EST 2019 Connection from Socket[addr=/127.0.0.1,port-57328 localport-8000] at Wednesday March 27 04:53:15 EST 2019 ali: hi how are you? mahboob: I am fine, and you? ali: this is fun X
Step by Step Solution
3.34 Rating (151 Votes )
There are 3 Steps involved in it
Creating a complete chat application with GUI in Java including the server and two clients is a complex task that requires a substantial amount of code I can provide you with a simplified example to h... View full answer
Get step-by-step solutions from verified subject matter experts
