Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

Distinguish between content and process motivation theories.

Answered: 1 week ago