Question: This should be writen in Java! Write a program that enables two users to chat. Implement one user as the server (Figure 31.2la and the
This should be writen in Java!

Write a program that enables two users to chat. Implement one user as the server (Figure 31.2la and the other as the client (Figure 31.21b). The server has two text areas: one for entering text and the other (noneditable) for displaying text received from the client. When the user presses the Enter key, the current line is sent to the client. The client has two text areas: one (noneditable) for displaying text from the server and the other for entering text. When the user presses the Enter key, the current line is sent to the server. Name the client Exercise31_09Client and the server Exercise31_09Server
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
