Update Client.java

Need functions for buttons to send and receive message, I struggle w that