Java chat client with GUI using swing