asynchronized client server chat communication.
I need an explanation for this Java question to help me study.
The assignment aims to avoid the synchronized behavior faced during the lab where the client and the server should receive a message before they can send to each other. What you are supposed to do is the following:
– Implement a graphical user interface for the client and the server with one text area where to display the received messages, one text field where to enter the message to send and one button to send the written message when the user presses it.
-Implement one thread responsible for displaying the received messages as well as the sent messages in the text area.
-let the main function responsible for the sending process.
Any extra effort in the GUI design or the features implementation will be considered in the evaluation.