Java file on recieving end

Java class file which uses TooTallNates java websocket library and
java.robot class.The java websocket library can be cloned from github
and added to your project. Java.robot class is present with jdk by
default and is used to issue a keypress event