Java chatroom server and client with functional GUI