Here is the example of two way communication between two applets. In this example User 1 can send messages to User 2 and User 2 can also send messages to User 1. In this way you will be able to see a two way communication. This example uses a single class and creates 2 instances of it. Enjoy the example !