Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CHAT Application Build a CHAT program. That is you will build 2 programs, a client(ChatClient.java) and a server(ChatServer.java). The server program will have a JTextField

CHAT Application

Build a CHAT program. That is you will build 2 programs, a client(ChatClient.java) and a server(ChatServer.java). The server program will have a JTextField at the bottom and a JTextArea at the top, also a Send Button. The client program will have the same. When the client user types in some text in the JTextField and hits the Send button, the text will be delivered to the JTextArea in the Server program. And vice versa. You will need to use Sockets and Streams, of course, as well as GUI components and GUI events. You will also need to use Threads. One thread for the send direction(main Thread) and one Thread for the receive direction(new Thread you create).

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

Concepts Of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

4th Edition

ISBN: 0619064625, 978-0619064624

More Books

Students also viewed these Databases questions

Question

Effective Delivery Effective

Answered: 1 week ago

Question

=+4 What are non-union workers representations?

Answered: 1 week ago