You will need to extend the provided GUI and call the related APIs to implement the both Client and Server interfaces.

Dec 12th, 2015
Anonymous
Category:
Calculus
Price: $80 USD

Question description

Use the code provided,

Do not modify the GUI INTERFACE

all the buttons should call the properly API,

I must be able to communicate via Terminal as well.

 you will need to extend the provided GUI and call the related APIs to implement the both Client and Server interfaces.

File and folders:

  1. JavaChat.drjava : The Drjava project file. You can double click it to open the project or you can open through Drjava “openproject” option.

  2. 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.

  3. 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.

  4. 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.

  1. Try to run and test the base code of both commandline and gui.

  2. Read through the code in the folder of commandline and gui. Make sure you

    understand the logic of those API calls.

  3. 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

    realize it.

  4. Extend the GUI interface based on the provided code. You final GUI interface should

    have full capabilities as the command line base code does. 


javachat.zip

Tutor Answer

(Top Tutor) sarahw
School: UIUC
PREMIUM TUTOR

Studypool has helped 1,244,100 students

Review from student
Anonymous
" Top quality work from this guy! I'll be back! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1821 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors