Java chat for Java classes