Java code for the Incufridge client.