Attempt and Development of a chat application using Java