Java chat server with GUI using swing