Implement the following two programs (similar to Assignment #5 but using JAVA & Swing)CS476/576
Assignment #6
(The Last Assignment) Due Midnight, Tuesday Dec 7, 1999
NAME
chatd
- a multi party chat server (or daeom).
chat
- a multi party chat client.
SYNOPSIS
chatd [port]
chat uname host port
DESCRIPTION
Chat connects to chatd using the information provided on the command line arguments (host and port). After chat is connected to chatd, it sends the user name (uname) of its user to chatd. Any line typed by a user of chat is sent to chatd where it is sent to all other participants. Every line is prefixed with the sender's uname. Any line received by chat from chatd is displayed to the user in a separate widget. Any user can leave the conversation at any time while all other participants may continue to chat.
Chatd never dies, even if the last
participant leaves. You have to kill it with a fatal signal.
The SWING Interface:
The design of the user interface for this program is up
to each of you given only the
following broad guidlines: