Java chat project (JavaChat)In this project, you will need to extend the provided GUI and call the related APIs to
implement the both Client and Server interfaces.
File and folders:
JavaChat.drjava : The Drjava project file. You can double click it to open the project
or you can open through Drjava “openproject” option.
Folder, commandline: This folder contains the command line base code. It provides
you a view of how to use API calls to implement the chatting program.
Folder, gui: This folder contains the GUI interface base code. It provides you the
example on how to use jframe to build you own GUI interface. In addition, both
Client and Server GUIs have implement the on button, “start” or “connect”. You
need carefully read the code on how to call those APIs.
Folder, common: This folder contains the APIs that provide the “connect”, “start”,
“send” methods. All the APIs you need are inside this folder.
What you need to do.
Try to run and test the base code of both commandline and gui.
Read through the code in the folder of commandline and gui. Make sure you
understand the logic of those API calls.
Read the APIs that provided in common folder. You only need to know what does
this API do from the name of the API and don’t need to know how does the API
Extend the GUI interface based on the provided code. You final GUI interface should
have full capabilities as the command line base code does.