I have build a whiteboard application that consist of a client and a server. The client will send the coordinates of what is drawn on a whiteboard to a server. The server is capable of handling multiple clients. The server will receive the coordinates from the clients and broadcast it to all the other clients so that other clients can see what is drawn. The problem I am facing with the code is that my client keeps receiving the same coordinates send to the server and therefore the clients do not get updated. How do I solve the problem?. I attach also the link for the java files:


Your help is kindly appreciated. Also if you require any further information, I would be willing to provide.


P.S Please take note that this is not a school homework.