SLIDE 1
Project 2
The Chat Room
Goals
- A project that will:
– Have multiple threads – Have a GUI – Involve networking – Be a lot of fun.
Handles
- People willing to enter the chat room must
have a handle
– Handle is a unique string identifying user
Windows
- Your program should display 2 types of
windows:
– User List – list of handles of all people registered with the chat room. – Conversation Window – where conversations take place
- May be multiple conversations up at any one time.
Ground Rules
1. When program is started, user list window should appear. 2. Program must define a simple way to start a conversation with a user 3. User must be notified when someone wants to start a conversation. User may
1. Accept the call 2. Deny the call 3. Ignore the call
Ground Rules
- 4. If user accepts, conversation window
should appear where user sees what he/she as well as the other party types.
- 5. A conversation can be terminated from the