Updated Client.java.