a demo send data to socket by java swing