Java messenger app