Question: In Java , write a chat room application that allows multiple users to connect to the chat server. Before the user is able to see

In Java, write a chat room application that allows multiple users to connect to the chat server.

Before the user is able to see the chat window, each user needs to enter his or her name.

Once a user is connected, the server window has to display a connected message with the users address.

The users chat window should display a welcome message form the server. The chat window should include a message panel to display chat history.

Below the chat panel, there should be a profile picture, a text field for user to type messages and a send button for sending messages to other connected users. In addition, there should be a setting button, an image button and an upload button. Setting button allows the user to change the background colour. Image button allows a user to select files from the computer. The upload button allows the user to upload the selected image file to the server. The server saves the image at a file named image.jpg.

In the users chat panel, each message should display the users name followed by the typed message.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!